diff options
| author | Simon | 2011-04-01 14:10:15 +0200 |
|---|---|---|
| committer | Simon | 2011-04-01 14:10:15 +0200 |
| commit | 8fa0353205b9622b778bcb084732d276fcf6fd5f (patch) | |
| tree | d33688a9d479661f9a33c48d1a864104af44d555 /application/controllers/ResourceController.php | |
| parent | user-layout geändert, Menü nur wenn rolle ausgewählt wurde (diff) | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-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.php | 6 |
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(); |
