summaryrefslogtreecommitdiffstats
path: root/application/controllers/BootosController.php
diff options
context:
space:
mode:
authormichael pereira2011-03-09 13:20:47 +0100
committermichael pereira2011-03-09 13:20:47 +0100
commit5be378c7470c3a6f1195ff19468db432a9270047 (patch)
tree3864f310e9d158ea6daa007ca15ad2e1ad517460 /application/controllers/BootosController.php
parenthtaccess (diff)
downloadpbs2-5be378c7470c3a6f1195ff19468db432a9270047.tar.gz
pbs2-5be378c7470c3a6f1195ff19468db432a9270047.tar.xz
pbs2-5be378c7470c3a6f1195ff19468db432a9270047.zip
Controller Validation fix
Diffstat (limited to 'application/controllers/BootosController.php')
-rw-r--r--application/controllers/BootosController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/BootosController.php b/application/controllers/BootosController.php
index e85f7e4..37886b4 100644
--- a/application/controllers/BootosController.php
+++ b/application/controllers/BootosController.php
@@ -38,7 +38,7 @@ class BootosController extends Zend_Controller_Action
$createbootosForm = new Application_Form_BootosCreate(array('grouplist' => $groupmapper->fetchAll() ,'configlist'=>$configmapper->fetchAll()));
} else {
- $createbootosForm = new Application_Form_BootosCreate($_POST);
+ $createbootosForm = new Application_Form_BootosCreate(array('grouplist' => $groupmapper->fetchAll() ,'configlist'=>$configmapper->fetchAll()),$_POST);
if ($createbootosForm->isValid($_POST)) {
@@ -83,7 +83,7 @@ class BootosController extends Zend_Controller_Action
$editbootosForm->populate($bootos->toArray());
}
}else{
- $editbootosForm = new Application_Form_BootosEdit($_POST);
+ $editbootosForm = new Application_Form_BootosEdit(array('grouplist' => $groupmapper->fetchAll() ,'configlist'=>$configmapper->fetchAll()),$_POST);
if ($editbootosForm->isValid($_POST)) {