From 8ceb7bad18f257127ad5790a9c0ec157d7e03f4d Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 4 Apr 2011 17:12:48 +0200 Subject: WICHTIG findBy Methode geƤndert & alles angepasst, siehe Ticket --- application/modules/user/controllers/BootosController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/modules/user/controllers/BootosController.php') diff --git a/application/modules/user/controllers/BootosController.php b/application/modules/user/controllers/BootosController.php index 8121a71..69f3140 100644 --- a/application/modules/user/controllers/BootosController.php +++ b/application/modules/user/controllers/BootosController.php @@ -63,7 +63,7 @@ class user_BootosController extends Zend_Controller_Action $configMapper = new Application_Model_ConfigMapper(); - $this->view->bootoslist = $this->bootosMapper->findBy("groupID", $groupID); + $this->view->bootoslist = $this->bootosMapper->findBy(array("groupID" => $groupID)); $this->view->update = array(); @@ -112,7 +112,7 @@ class user_BootosController extends Zend_Controller_Action //TODO nur configs von admins $configMapper = new Application_Model_ConfigMapper(); - $configlist = $configMapper->findBy("groupID", $groupID); + $configlist = $configMapper->findBy(array("groupID" => $groupID)); if (!isset($_POST["createbootos"])){ $bootosForm = new user_Form_Bootos(array( @@ -271,7 +271,7 @@ class user_BootosController extends Zend_Controller_Action $childgroups = count($groupgroupsMapper->getChildGroups($groupID)); $configMapper = new Application_Model_ConfigMapper(); - $configlist = $configMapper->findBy("groupID", $groupID); + $configlist = $configMapper->findBy(array("groupID" => $groupID)); $bootos = new Application_Model_BootOs(); $bootos = $this->bootosMapper->find($bootosID); -- cgit v1.2.3-55-g7522