summaryrefslogtreecommitdiffstats
path: root/application/forms/EventEdit.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/forms/EventEdit.php')
-rwxr-xr-xapplication/forms/EventEdit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/forms/EventEdit.php b/application/forms/EventEdit.php
index baee5b4..72e3d7e 100755
--- a/application/forms/EventEdit.php
+++ b/application/forms/EventEdit.php
@@ -185,7 +185,7 @@ class Application_Form_EventEdit extends Zend_Form
));
$this->getElement('end')->addPrefixPath('Poolctrl_Validate', 'Poolctrl/Validator/', 'validate');
}
- $this->getElement('start')->addValidator(new Poolctrl_Validate_EventOverlapping(array('end' => $this->getElement('end')->getValue())));
+ $this->getElement('start')->addValidator(new Poolctrl_Validate_EventOverlapping(), array('end' => $this->getElement('end')->getValue(), 'poolID' => $this->params['pbs_poolID']));
if( $this->params['repeat'] == 1) {
$this->addElement('checkbox', 'repeat', array(