From 83dc163a91f92d6da1b65a012a32333e2f46426e Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Thu, 26 Jan 2012 16:06:11 +0100 Subject: Preboot Type fix in Controller --- application/modules/user/controllers/PrebootController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/modules') diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php index 4f83820..c739b03 100644 --- a/application/modules/user/controllers/PrebootController.php +++ b/application/modules/user/controllers/PrebootController.php @@ -66,7 +66,7 @@ class User_PrebootController extends Zend_Controller_Action { $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()); + $preboot->setPreBootTypeID($preboottypeMapper->find($preboot->getID())->getName()); } // Search -- cgit v1.2.3-55-g7522