summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/controllers/IndexController.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/fbgui/controllers/IndexController.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/fbgui/controllers/IndexController.php')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index be84e58..b48806b 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -26,7 +26,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
$groupID = $bootiso->getGroupID();
}
elseif(isset($_POST['serialnumber'])){
- $results = $bootisomapper->findBy('serialnumber',$_POST['serialnumber'],true);
+ $results = $bootisomapper->findBy(array('serialnumber' => $_POST['serialnumber']),true);
if(count($results) == 0){
echo 'Your serialnumber is not known by the system';
}
@@ -62,7 +62,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
'Your client is '.$session->getClientID(),
'goto bootmenu '.$bootmenuID);
$bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper();
- $res = $bootmenuentriesMapper->findBy('bootmenuID',$bootmenuID);
+ $res = $bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID),true);
$this->view->entries = $res;
}
else{
@@ -87,7 +87,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
$bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry);
$sessionMapper = new Application_Model_SessionMapper();
- $session_k = $sessionMapper->findBy('alphasessionID',$_SESSION['alphasessionID']);
+ $session_k = $sessionMapper->findBy(array('alphasessionID' => $_SESSION['alphasessionID']),true);
$session = new Application_Model_Session();
$session->setOptions($session_k[0]);