summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootosController.php
diff options
context:
space:
mode:
authormichael pereira2011-04-04 17:12:48 +0200
committermichael pereira2011-04-04 17:12:48 +0200
commit8ceb7bad18f257127ad5790a9c0ec157d7e03f4d (patch)
treea83b3d35741914087db7eb8c169c1f5c3b0bd02a /application/modules/user/controllers/BootosController.php
parentgetRessoources bei Play werden angezeigt (diff)
downloadpbs2-8ceb7bad18f257127ad5790a9c0ec157d7e03f4d.tar.gz
pbs2-8ceb7bad18f257127ad5790a9c0ec157d7e03f4d.tar.xz
pbs2-8ceb7bad18f257127ad5790a9c0ec157d7e03f4d.zip
WICHTIG findBy Methode geändert & alles angepasst, siehe Ticket
Diffstat (limited to 'application/modules/user/controllers/BootosController.php')
-rw-r--r--application/modules/user/controllers/BootosController.php6
1 files changed, 3 insertions, 3 deletions
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);