From 5df7b41ccab9225e55f42acfee04bfdff48abe92 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 26 Apr 2011 17:52:26 +0200 Subject: SessionMapper fix --- application/modules/user/controllers/SessionController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/modules') diff --git a/application/modules/user/controllers/SessionController.php b/application/modules/user/controllers/SessionController.php index 91b6dbd..b2fe874 100644 --- a/application/modules/user/controllers/SessionController.php +++ b/application/modules/user/controllers/SessionController.php @@ -44,9 +44,9 @@ class User_SessionController extends Zend_Controller_Action $membershipMapper = new Application_Model_MembershipMapper(); $personMapper = new Application_Model_PersonMapper(); - $bootisos = $bootisoMapper->findBy(array('groupID',$this->membership->getGroupID())); + $bootisos = $bootisoMapper->findBy(array('groupID'=>$this->membership->getGroupID())); foreach($bootisos as $bootiso){ - $sessions = $sessionMapper->findBy(array('bootisoID',$bootiso->getID())); + $sessions = $sessionMapper->findBy(array('bootisoID'=>$bootiso->getID())); foreach($sessions as $session){ #echo $session->getBootosID(); if($session->getBootosID() != ''){ -- cgit v1.2.3-55-g7522