diff options
| author | Michael Neves | 2012-01-26 18:56:35 +0100 |
|---|---|---|
| committer | Michael Neves | 2012-01-26 18:56:35 +0100 |
| commit | e3e5925bb9933681a6e00377f600b3e6df7093b8 (patch) | |
| tree | c2ebc3232b02fc3eeb10a93edb62aebec60f78ed /application/modules/user/controllers | |
| parent | Preboot add/edit fix (diff) | |
| download | pbs2-e3e5925bb9933681a6e00377f600b3e6df7093b8.tar.gz pbs2-e3e5925bb9933681a6e00377f600b3e6df7093b8.tar.xz pbs2-e3e5925bb9933681a6e00377f600b3e6df7093b8.zip | |
Preboot add/edit fix
Diffstat (limited to 'application/modules/user/controllers')
| -rw-r--r-- | application/modules/user/controllers/PrebootController.php | 5 |
1 files changed, 0 insertions, 5 deletions
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 { |
