diff options
author | Michael Neves | 2012-01-26 16:06:11 +0100 |
---|---|---|
committer | Michael Neves | 2012-01-26 16:06:11 +0100 |
commit | 83dc163a91f92d6da1b65a012a32333e2f46426e (patch) | |
tree | d9519e2ec3faf7723ab072ec73fa6e017c61df84 | |
parent | Preboot Serial and type in View (diff) | |
download | pbs2-83dc163a91f92d6da1b65a012a32333e2f46426e.tar.gz pbs2-83dc163a91f92d6da1b65a012a32333e2f46426e.tar.xz pbs2-83dc163a91f92d6da1b65a012a32333e2f46426e.zip |
Preboot Type fix in Controller
-rw-r--r-- | application/modules/user/controllers/PrebootController.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |