From e3e5925bb9933681a6e00377f600b3e6df7093b8 Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Thu, 26 Jan 2012 18:56:35 +0100 Subject: Preboot add/edit fix --- application/modules/user/controllers/PrebootController.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'application/modules/user/controllers/PrebootController.php') diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php index af20ef5..537bd16 100644 --- a/application/modules/user/controllers/PrebootController.php +++ b/application/modules/user/controllers/PrebootController.php @@ -180,17 +180,12 @@ class User_PrebootController extends Zend_Controller_Action { $preboottype = $preboottypeMapper->fetchAll(); if (!isset($_POST["editpreboot"])) { - if(!isset($_POST['serialnumber'])) { - $_POST['preboottypeID'] = $preboot->getPreboottypeID(); - } $prebootForm = new user_Form_Preboot(array( 'action' => 'editpreboot', 'preboottype' => $preboottype, 'page' => $this->page)); - if(!isset($_POST['serialnumber'])) { $prebootForm->populate($preboot->toArray()); - } } else { -- cgit v1.2.3-55-g7522