summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorBjörn Geiger2011-08-04 16:59:29 +0200
committerBjörn Geiger2011-08-04 16:59:29 +0200
commitc970fbfe83d60c76317c74abb18084fbba41ea61 (patch)
tree6c3ad1ad3b27b04458c841487199072546ac2bc0 /application
parentminor (diff)
downloadpoolctrl-c970fbfe83d60c76317c74abb18084fbba41ea61.tar.gz
poolctrl-c970fbfe83d60c76317c74abb18084fbba41ea61.tar.xz
poolctrl-c970fbfe83d60c76317c74abb18084fbba41ea61.zip
minor
Diffstat (limited to 'application')
-rw-r--r--application/controllers/PersonController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/PersonController.php b/application/controllers/PersonController.php
index e85e053..76a4abb 100644
--- a/application/controllers/PersonController.php
+++ b/application/controllers/PersonController.php
@@ -22,7 +22,7 @@ class PersonController extends Zend_Controller_Action
{
if (Zend_Auth::getInstance()->hasIdentity()) {
$this->userIDsNamespace = Zend_Session::namespaceGet('userIDs');
- if(!$this->userIDsNamespace['membershipID']) {
+ if(!is_array($this->userIDsNamespace)) {
$this->_helper->redirector('selectmembership', 'person');
return;
}