Commit a369a0e3 authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

Issue #1736458: Remove a couple of debug messages in wizard tests.

parent 14540108
......@@ -750,12 +750,19 @@ protected function default_display_sorts_user($form, $form_state) {
$column = $column[0];
}
$sorts[$column] = array(
'id' => $column,
'table' => $table,
'field' => $column,
'order' => $sort,
);
// If the input is invalid, for example when the #default_value contains
// created from node, but the wizard type is another base table, make
// sure it is not added. This usually don't happen if you have js
// enabled.
$data = views_fetch_data($table);
if (isset($data[$column]['sort'])) {
$sorts[$column] = array(
'id' => $column,
'table' => $table,
'field' => $column,
'order' => $sort,
);
}
}
return $sorts;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment