diff options
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 6 |
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]); |
