summaryrefslogtreecommitdiffstats
path: root/application/controllers/EventController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/EventController.php')
-rwxr-xr-xapplication/controllers/EventController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 0cfa282..7256335 100755
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -144,15 +144,15 @@ class EventController extends Zend_Controller_Action
}
}
if(isset($this->userIDsNamespace['poolID'])) {
- $addForm = new Application_Form_EventAdd(array('eventcategorylist' => $eventcategorylist, 'bootoslist' => $bootoslist, 'poollist' => $poollist, 'start' => $start, 'end' => $end, 'defaultEventCategoryID' => $defaultEventCategoryID, 'poolID' => $this->userIDsNamespace['poolID']));
+ $addForm = new Application_Form_EventAdd(array('eventcategorylist' => $eventcategorylist, 'bootoslist' => $bootoslist, 'start' => $start, 'end' => $end, 'defaultEventCategoryID' => $defaultEventCategoryID, 'poolID' => $this->userIDsNamespace['poolID']));
} else {
$addForm = new Application_Form_EventAdd(array('eventcategorylist' => $eventcategorylist, 'bootoslist' => $bootoslist, 'poollist' => $poollist, 'start' => $start, 'end' => $end, 'defaultEventCategoryID' => $defaultEventCategoryID));
}
} else {
- $addForm = new Application_Form_EventAdd(array('eventcategorylist' => $eventcategorylist, 'bootoslist' => $bootoslist, 'poollist' => $poollist, 'start' => $start, 'end' => $end, $this->getRequest()->getParams()));
+ $addForm = new Application_Form_EventAdd(array('eventcategorylist' => $eventcategorylist, 'bootoslist' => $bootoslist, 'start' => $start, 'end' => $end, $this->getRequest()->getParams()));
$params = $this->getRequest()->getParams();
- if(!isset($params['poolID'])) {
- $params['poolID'] = $this->userIDsNamespace['poolID'];
+ if(!isset($params['pbs_poolID'])) {
+ $params['pbs_poolID'] = $this->userIDsNamespace['poolID'];
}
if ($addForm->isValid($params)) {
if($params['immediate']) {