Update Tools.php
This commit is contained in:
@@ -3733,7 +3733,7 @@ exit;
|
||||
return;
|
||||
}
|
||||
|
||||
$sort_function = create_function('$a, $b', "return \$b['$column'] > \$a['$column'] ? 1 : -1;");
|
||||
$sort_function = function ($a, $b) use ($column) { return $b[$column] > $a[$column] ? 1 : -1; };
|
||||
|
||||
uasort($rows, $sort_function);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user