From 1466e2f6ba4f411db5044ab0092dec0dbca72740 Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Thu, 26 Jan 2012 18:23:08 +0100 Subject: Preboot add/edit fix --- application/modules/user/controllers/PrebootController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3-55-g7522