diff options
| author | MaZderMind | 2017-05-28 13:00:54 +0200 | 
|---|---|---|
| committer | MaZderMind | 2017-05-28 13:00:54 +0200 | 
| commit | 0709f6f0abf36ea24344242bbd614cb809274832 (patch) | |
| tree | a8af323e89378e7a8b80ccb86583c970a3256e74 /model/Conferences.php | |
| parent | 7606f79f41811b3d04821fa04a747f511a49addf (diff) | |
tweak sorting
Diffstat (limited to 'model/Conferences.php')
| -rw-r--r-- | model/Conferences.php | 2 | 
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; | 
