From 2dd4004af95ab7e11813281c19a7e32aa0119e5a Mon Sep 17 00:00:00 2001 From: michael pereira Date: Fri, 1 Apr 2011 13:56:29 +0200 Subject: bootmenu --- application/controllers/ResourceController.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'application/controllers/ResourceController.php') 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(); -- cgit v1.2.3-55-g7522