fix sorting

This commit is contained in:
2019-03-26 18:09:08 +01:00
parent aff086bbf8
commit 2bc6aa1c05

View File

@@ -31,7 +31,7 @@ for($i = 0; $i < 2; $i++) {
}
}
usort($worklists, function($a, $b) {
uasort($worklists, function($a, $b) {
if ($a[1] == $b[1]) return;
return $a[1] > $b[1] ? -1 : 1;
});