diff options
Diffstat (limited to 'application/modules/user/controllers/PoolController.php')
| -rw-r--r-- | application/modules/user/controllers/PoolController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/user/controllers/PoolController.php b/application/modules/user/controllers/PoolController.php index d5cab09..7bf3446 100644 --- a/application/modules/user/controllers/PoolController.php +++ b/application/modules/user/controllers/PoolController.php @@ -57,7 +57,7 @@ class User_PoolController extends Zend_Controller_Action // get all pools from this group $poolMapper = new Application_Model_PoolMapper(); - $pools = $poolMapper->findBy('groupID',$this->membership->getGroupID()); + $pools = $poolMapper->findBy(array('groupID' => $this->membership->getGroupID()),true); foreach($pools as $pool){ $ff = new Application_Model_Pool(); $ff->setOptions($pool); @@ -81,7 +81,7 @@ class User_PoolController extends Zend_Controller_Action // Get all Clients from this group $clientmapper = new Application_Model_ClientMapper(); - $clientsArray = $clientmapper->findBy('groupID',$this->membership->getGroupID()); + $clientsArray = $clientmapper->findBy(array('groupID' => $this->membership->getGroupID()),true); // Get all assigned Clients $assignedclientmapper = new Application_Model_PoolEntriesMapper(); @@ -216,7 +216,7 @@ class User_PoolController extends Zend_Controller_Action if(!isset($_POST['clientID']) && ($clientID == '')){ $clientmapper = new Application_Model_ClientMapper(); - $clients = $clientmapper->findBy('groupID',$this->membership->getGroupID()); + $clients = $clientmapper->findBy(array('groupID',$this->membership->getGroupID()),true); $assignedclientmapper = new Application_Model_PoolEntriesMapper(); $assignedclients = $assignedclientmapper->fetchAll(); foreach($assignedclients as $c){ |
