Skip to content

Commit

Permalink
Previous fix for notices was incorrect
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Apr 6, 2014
1 parent a0cdd1f commit ea3447e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/DisplayResults.class.php
Expand Up @@ -2001,7 +2001,6 @@ private function _makeUrl(
);
} else {
$sort_order .= strtoupper($sort_direction[$index]);
$order_img = '';
}
// Separate columns by a comma
$sort_order .= ", ";
Expand All @@ -2010,6 +2009,9 @@ private function _makeUrl(
// 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);
}

Expand Down

0 comments on commit ea3447e

Please sign in to comment.