Previous fix for notices was incorrect

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2014-04-06 08:56:53 -04:00
parent a0cdd1f97f
commit ea3447ed8e

View File

@ -2001,7 +2001,6 @@ class PMA_DisplayResults
);
} else {
$sort_order .= strtoupper($sort_direction[$index]);
$order_img = '';
}
// Separate columns by a comma
$sort_order .= ", ";
@ -2010,6 +2009,9 @@ class PMA_DisplayResults
// remove the comma from the last column name in the newly
// constructed clause
$sort_order = substr($sort_order, 0, strlen($sort_order)-2);
if (empty($order_img)) {
$order_img = '';
}
return array($sort_order, $order_img);
}