diff options
author | Michael Neves | 2012-01-26 18:34:26 +0100 |
---|---|---|
committer | Michael Neves | 2012-01-26 18:34:26 +0100 |
commit | 22f7c2dc17a921bf0a965c282d7d3c2e2459f8e5 (patch) | |
tree | c207ae977d081a32a973a07f86e53939f5085a75 | |
parent | Preboot add/edit fix (diff) | |
download | pbs2-22f7c2dc17a921bf0a965c282d7d3c2e2459f8e5.tar.gz pbs2-22f7c2dc17a921bf0a965c282d7d3c2e2459f8e5.tar.xz pbs2-22f7c2dc17a921bf0a965c282d7d3c2e2459f8e5.zip |
Preboot add/edit fix
-rw-r--r-- | application/modules/user/controllers/PrebootController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php index 3acf3ca..af20ef5 100644 --- a/application/modules/user/controllers/PrebootController.php +++ b/application/modules/user/controllers/PrebootController.php @@ -188,7 +188,9 @@ class User_PrebootController extends Zend_Controller_Action { 'action' => 'editpreboot', 'preboottype' => $preboottype, 'page' => $this->page)); - $prebootForm->populate($preboot->toArray()); + if(!isset($_POST['serialnumber'])) { + $prebootForm->populate($preboot->toArray()); + } } else { |