summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/PrebootController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/PrebootController.php')
-rw-r--r--application/modules/user/controllers/PrebootController.php4
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 {