summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/SessionController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/SessionController.php')
-rw-r--r--application/modules/user/controllers/SessionController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/user/controllers/SessionController.php b/application/modules/user/controllers/SessionController.php
index 018e738..3768af9 100644
--- a/application/modules/user/controllers/SessionController.php
+++ b/application/modules/user/controllers/SessionController.php
@@ -62,7 +62,7 @@ class User_SessionController extends Zend_Controller_Action
// Sort after date/id
usort($mySessions, function($func_a, $func_b) {
if($func_a->getID() == $func_b->getID()) return 0;
- return ($func_a->getID() < $func_b->getID()) ? -1 : 1;
+ return ($func_a->getID() < $func_b->getID()) ? 1 : -1;
});
// Search