diff options
| author | michael pereira | 2011-04-04 17:12:48 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-04 17:12:48 +0200 |
| commit | 8ceb7bad18f257127ad5790a9c0ec157d7e03f4d (patch) | |
| tree | a83b3d35741914087db7eb8c169c1f5c3b0bd02a /application/modules/user/controllers/BootisoController.php | |
| parent | getRessoources bei Play werden angezeigt (diff) | |
| download | pbs2-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/BootisoController.php')
| -rw-r--r-- | application/modules/user/controllers/BootisoController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/user/controllers/BootisoController.php b/application/modules/user/controllers/BootisoController.php index 20f5774..63a5e38 100644 --- a/application/modules/user/controllers/BootisoController.php +++ b/application/modules/user/controllers/BootisoController.php @@ -70,7 +70,7 @@ class user_BootisoController extends Zend_Controller_Action foreach($parents as $k => $parent){ foreach($parent as $p){ - $bootiso = $this->bootisoMapper->findBy("groupID", $p); + $bootiso = $this->bootisoMapper->findBy(array("groupID" => $p)); foreach ($bootiso as $b) if($b->getPublic() - $k >= 0 ) $this->view->bootisolist[] = $b; @@ -158,7 +158,7 @@ class user_BootisoController extends Zend_Controller_Action $childgroups = count($groupgroupsMapper->getChildGroups($groupID)); $prebootMapper = new Application_Model_PreBootMapper(); - $prebootlist = $prebootMapper->findBy("groupID", $groupID); + $prebootlist = $prebootMapper->findBy(array("groupID" => $groupID)); if (!isset($_POST["createbootiso"])){ $bootisoForm = new user_Form_Bootiso(array( 'action' => 'createbootiso', @@ -226,7 +226,7 @@ class user_BootisoController extends Zend_Controller_Action $groupID = $this->membership->getGroupID(); $prebootMapper = new Application_Model_PreBootMapper(); - $prebootlist = $prebootMapper->findBy("groupID", $groupID); + $prebootlist = $prebootMapper->findBy(array("groupID" => $groupID)); $groupgroupsMapper = new Application_Model_GroupGroupsMapper(); $childgroups = count($groupgroupsMapper->getChildGroups($groupID)); |
