summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers')
-rw-r--r--application/modules/user/controllers/BootisoController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/modules/user/controllers/BootisoController.php b/application/modules/user/controllers/BootisoController.php
index fd6419a..daa3d91 100644
--- a/application/modules/user/controllers/BootisoController.php
+++ b/application/modules/user/controllers/BootisoController.php
@@ -87,12 +87,12 @@ class user_BootisoController extends Zend_Controller_Action {
$this->view->bootisolist = array_reverse($this->view->bootisolist);
- $prebootMapper = new Application_Model_PreBootMapper();
- $this->view->prebootlist = array();
-
+ $preboottypeMapper = new Application_Model_PreBootTypeMapper();
+
foreach ($this->view->bootisolist as $bootiso) {
- $bootiso->setPrebootID("[".$bootiso->getPrebootID()."] ".$prebootMapper->find($bootiso->getPrebootID())->getTitle());
$bootiso->setGroupID("[".$bootiso->getGroupID()."] ".$groupMapper->find($bootiso->getGroupID())->getTitle());
+ $bootiso->setPreBootTypeID($preboottypeMapper->find($bootiso->getID())->getName());
+
$bootiso->setCreated(date(Zend_Registry::get('dateformat'), $bootiso->getCreated()));
if($bootiso->getExpires() == "") {
$bootiso->setExpires(0);