summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon2011-04-07 14:27:12 +0200
committerSimon2011-04-07 14:27:12 +0200
commit93c5f1bd6eb4e2d150735bcd0c77ec780b8c3447 (patch)
tree1a3a33fcc05007bc87c801038aeed4b2dda305a0
parentFilterÜbersicht geändert, Priorität an erster stelle (diff)
downloadpbs2-93c5f1bd6eb4e2d150735bcd0c77ec780b8c3447.tar.gz
pbs2-93c5f1bd6eb4e2d150735bcd0c77ec780b8c3447.tar.xz
pbs2-93c5f1bd6eb4e2d150735bcd0c77ec780b8c3447.zip
fix der mapper in der fbgui
-rw-r--r--application/modules/fbgui/controllers/IndexController.php2
-rw-r--r--application/modules/fbgui/views/scripts/index/index.phtml1
2 files changed, 2 insertions, 1 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index 8c840ea..bfd2bec 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -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(array('bootmenuID' => $bootmenuID),true);
+ $res = $bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID),false);
$this->view->entries = $res;
}
else{
diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml
index 70d255c..1fe02d4 100644
--- a/application/modules/fbgui/views/scripts/index/index.phtml
+++ b/application/modules/fbgui/views/scripts/index/index.phtml
@@ -23,6 +23,7 @@
$bootosMapper = new Application_Model_BootOsMapper();
$bootos = new Application_Model_BootOs();
$bootos = $bootosMapper->find($entry->getBootosID());
+
?>
<div id="menu_item_1" class="menu" class="flexbox">
<img src="/media/img/os/ubuntu.png" />