Update Tools.php

This commit is contained in:
wdammak
2020-10-26 10:09:19 +01:00
committed by GitHub
parent b9d4a19049
commit a3bc316e79

View File

@@ -3733,7 +3733,9 @@ exit;
return;
}
uasort($rows, function ($a, $b) { return $b['$column'] > $a['$column'] ? 1 : -1; });
$sort_function = create_function('$a, $b', "return \$b['$column'] > \$a['$column'] ? 1 : -1;");
uasort($rows, $sort_function)
$unit = pow(10, $precision);