summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/PrebootController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/PrebootController.php')
-rw-r--r--application/modules/user/controllers/PrebootController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php
index 746cab7..4f83820 100644
--- a/application/modules/user/controllers/PrebootController.php
+++ b/application/modules/user/controllers/PrebootController.php
@@ -61,9 +61,12 @@ class User_PrebootController extends Zend_Controller_Action {
if(!Pbs_Acl::checkRight('pro'))
{ $this->_redirect('/user/index'); }
+ $preboottypeMapper = new Application_Model_PreBootTypeMapper();
+
$this->view->prebootlist = $this->prebootMapper->findBy(array("groupID" => $groupID));
foreach ($this->view->prebootlist as $preboot) {
$preboot->setCreated(date(Zend_Registry::get('dateformat'), $preboot->getCreated()));
+ $preboot->setPreBootTypeID($preboottypeMapper->find($preboot->getPreBootTypeID())->getName());
}
// Search