summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-01-26 18:23:08 +0100
committerMichael Neves2012-01-26 18:23:08 +0100
commit1466e2f6ba4f411db5044ab0092dec0dbca72740 (patch)
treee6ab3bfbda2fe89dea4c6a28d9437d8959419499
parentPreboot add/edit fix (diff)
downloadpbs2-1466e2f6ba4f411db5044ab0092dec0dbca72740.tar.gz
pbs2-1466e2f6ba4f411db5044ab0092dec0dbca72740.tar.xz
pbs2-1466e2f6ba4f411db5044ab0092dec0dbca72740.zip
Preboot add/edit fix
-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 a22ae18..3acf3ca 100644
--- a/application/modules/user/controllers/PrebootController.php
+++ b/application/modules/user/controllers/PrebootController.php
@@ -180,7 +180,7 @@ class User_PrebootController extends Zend_Controller_Action {
$preboottype = $preboottypeMapper->fetchAll();
if (!isset($_POST["editpreboot"])) {
- if(!isset($_POST['preboottypeID'])) {
+ if(!isset($_POST['serialnumber'])) {
$_POST['preboottypeID'] = $preboot->getPreboottypeID();
}