Fix: Wrong sorting
This commit is contained in:
parent
a39fde6e01
commit
6ebb9411e8
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ foreach ($days as $day) {
|
||||||
$courses[] = $row;
|
$courses[] = $row;
|
||||||
}
|
}
|
||||||
usort($courses, function($a, $b) {
|
usort($courses, function($a, $b) {
|
||||||
return $a[5] - $b[5];
|
return $a["time"] - $b["time"];
|
||||||
});
|
});
|
||||||
foreach ($courses as $course) {
|
foreach ($courses as $course) {
|
||||||
?>
|
?>
|
||||||
|
|
Reference in a new issue