aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/Conferences.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Conferences.php b/model/Conferences.php
index f930e32..f7276ac 100644
--- a/model/Conferences.php
+++ b/model/Conferences.php
@@ -48,7 +48,7 @@ class Conferences
$sorted = Conferences::getConferences();
usort($sorted, function($a, $b) {
- return $b->startsAt() > $a->endsAt() ? 1 : -1;
+ return $b->startsAt() > $a->startsAt() ? 1 : -1;
});
return $sorted;