diff options
| author | michael pereira | 2011-04-01 13:56:29 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-01 13:56:29 +0200 |
| commit | 2dd4004af95ab7e11813281c19a7e32aa0119e5a (patch) | |
| tree | 91293df21ae0bc44a2848306d037e6a288a6d711 /application/controllers/ResourceController.php | |
| parent | bootos controller fertig (diff) | |
| download | pbs2-2dd4004af95ab7e11813281c19a7e32aa0119e5a.tar.gz pbs2-2dd4004af95ab7e11813281c19a7e32aa0119e5a.tar.xz pbs2-2dd4004af95ab7e11813281c19a7e32aa0119e5a.zip | |
bootmenu
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 8ab1828..3b7ad2c 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(); |
