diff options
Diffstat (limited to 'application/modules/user/controllers/SessionController.php')
| -rw-r--r-- | application/modules/user/controllers/SessionController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/application/modules/user/controllers/SessionController.php b/application/modules/user/controllers/SessionController.php index 88f73f4..4260a82 100644 --- a/application/modules/user/controllers/SessionController.php +++ b/application/modules/user/controllers/SessionController.php @@ -80,7 +80,7 @@ class User_SessionController extends Zend_Controller_Action } } // Sort after date/id - usort($mySessions, sortFunc); + usort($mySessions, 'sortFunc'); // Search $search = $this->_request->getParam('search'); @@ -113,8 +113,7 @@ class User_SessionController extends Zend_Controller_Action } - function sortFunc($func_a, $func_b) { if($func_a->getID() == $func_b->getID()) return 0; return ($func_a->getID() < $func_b->getID()) ? 1 : -1; -}
\ No newline at end of file +} |
