summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/SessionController.php
diff options
context:
space:
mode:
authorSimon2011-04-19 14:34:10 +0200
committerSimon2011-04-19 14:34:10 +0200
commite205bff25c5716ce1788d39a0803fa439928ff3c (patch)
tree52b2f64152099f1bbb0f7e4e11dca76cd3ea8044 /application/modules/user/controllers/SessionController.php
parentFilterMöglichkeit umbenannt (diff)
downloadpbs2-e205bff25c5716ce1788d39a0803fa439928ff3c.tar.gz
pbs2-e205bff25c5716ce1788d39a0803fa439928ff3c.tar.xz
pbs2-e205bff25c5716ce1788d39a0803fa439928ff3c.zip
Notices und Warnings weggemacht
Diffstat (limited to 'application/modules/user/controllers/SessionController.php')
-rw-r--r--application/modules/user/controllers/SessionController.php5
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
+}