summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-01-26 16:06:11 +0100
committerMichael Neves2012-01-26 16:06:11 +0100
commit83dc163a91f92d6da1b65a012a32333e2f46426e (patch)
treed9519e2ec3faf7723ab072ec73fa6e017c61df84
parentPreboot Serial and type in View (diff)
downloadpbs2-83dc163a91f92d6da1b65a012a32333e2f46426e.tar.gz
pbs2-83dc163a91f92d6da1b65a012a32333e2f46426e.tar.xz
pbs2-83dc163a91f92d6da1b65a012a32333e2f46426e.zip
Preboot Type fix in Controller
-rw-r--r--application/modules/user/controllers/PrebootController.php2
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