diff options
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(); |
