From e205bff25c5716ce1788d39a0803fa439928ff3c Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 19 Apr 2011 14:34:10 +0200 Subject: Notices und Warnings weggemacht --- application/modules/user/controllers/SessionController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'application/modules/user/controllers/SessionController.php') 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 +} -- cgit v1.2.3-55-g7522