summaryrefslogtreecommitdiffstats
path: root/application/controllers/ResourceController.php
diff options
context:
space:
mode:
authorSimon2011-04-01 14:10:15 +0200
committerSimon2011-04-01 14:10:15 +0200
commit8fa0353205b9622b778bcb084732d276fcf6fd5f (patch)
treed33688a9d479661f9a33c48d1a864104af44d555 /application/controllers/ResourceController.php
parentuser-layout geändert, Menü nur wenn rolle ausgewählt wurde (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-8fa0353205b9622b778bcb084732d276fcf6fd5f.tar.gz
pbs2-8fa0353205b9622b778bcb084732d276fcf6fd5f.tar.xz
pbs2-8fa0353205b9622b778bcb084732d276fcf6fd5f.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/controllers/ResourceController.php')
-rw-r--r--application/controllers/ResourceController.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index 99e543e..563a603 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -128,7 +128,11 @@ class ResourceController extends Zend_Controller_Action
// so getkclAction, getkernelAction, getconfigAction and getinitramfsAction
// can be called with session-identifier
$bootmenuentryID = $this->_request->getParam('bootmenuentryID');
- $bootosID = $this->_request->getParam('bootosID');
+
+ $bootmenuentryMapper = new Application_Model_BootMenuEntriesMapper();
+ $bootmenuentry = new Application_Model_BootMenuEntries();
+ $bootmenuentryMapper->find($bootmenuentryID, $bootmenuentry);
+ $bootosID = $bootmenuentry->getBootosID();
$this->thisSession->setBootosID($bootosID)->setBootmenuentryID($bootmenuentryID);
$sessionMapper = new Application_Model_SessionMapper();