From 59594fd998aa675f7efe5c4e411c7f5b6884144b Mon Sep 17 00:00:00 2001 From: michael pereira Date: Tue, 12 Apr 2011 14:04:55 +0200 Subject: preboot fix --- application/modules/user/controllers/BootosController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'application/modules/user/controllers/BootosController.php') 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 @@ -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())); -- cgit v1.2.3-55-g7522