summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootosController.php
diff options
context:
space:
mode:
authormichael pereira2011-04-12 14:04:55 +0200
committermichael pereira2011-04-12 14:04:55 +0200
commit59594fd998aa675f7efe5c4e411c7f5b6884144b (patch)
tree6932bb87326960fc5a9e898a47593176aa31d5c9 /application/modules/user/controllers/BootosController.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-59594fd998aa675f7efe5c4e411c7f5b6884144b.tar.gz
pbs2-59594fd998aa675f7efe5c4e411c7f5b6884144b.tar.xz
pbs2-59594fd998aa675f7efe5c4e411c7f5b6884144b.zip
preboot fix
Diffstat (limited to 'application/modules/user/controllers/BootosController.php')
-rw-r--r--application/modules/user/controllers/BootosController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/user/controllers/BootosController.php b/application/modules/user/controllers/BootosController.php
index 917441a..b4801f6 100644
--- a/application/modules/user/controllers/BootosController.php
+++ b/application/modules/user/controllers/BootosController.php
@@ -1,4 +1,4 @@
-<?php
+v<?php
class user_BootosController extends Zend_Controller_Action
{
@@ -84,6 +84,8 @@ class user_BootosController extends Zend_Controller_Action
if(count($this->view->bootoslist)>0){
foreach ($this->view->bootoslist as $bootos){
$this->view->update[$bootos->getID()] = $update && $this->checkupdateAction($bootos);
+ if($bootos->getDefaultkcl() == null)
+ $bootos->setDefaultkcl("none (edit Bootos to set KCL)");
$bootos->setGroupID("[".$bootos->getGroupID()."] ".$groupMapper->find($bootos->getGroupID())->getTitle());
$bootos->setConfigID("[".$bootos->getConfigID()."] ".$configMapper->find($bootos->getConfigID())->getTitle());
$bootos->setCreated(date(Zend_Registry::get('dateformat'),$bootos->getCreated()));