summaryrefslogtreecommitdiffstats
path: root/application/forms/EventEdit.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-09-08 15:06:59 +0200
committerBjörn Geiger2011-09-08 15:06:59 +0200
commitc67250b49f34999c220ee09381bd2dd50727991c (patch)
tree55ac7c4840cbd32c26c15063f74aee763e014a90 /application/forms/EventEdit.php
parentverschiedene Änderungen + DB Update (diff)
downloadpoolctrl-c67250b49f34999c220ee09381bd2dd50727991c.tar.gz
poolctrl-c67250b49f34999c220ee09381bd2dd50727991c.tar.xz
poolctrl-c67250b49f34999c220ee09381bd2dd50727991c.zip
weiterer fehler
Diffstat (limited to 'application/forms/EventEdit.php')
-rw-r--r--application/forms/EventEdit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/forms/EventEdit.php b/application/forms/EventEdit.php
index 992f5ae..b49b8f9 100644
--- a/application/forms/EventEdit.php
+++ b/application/forms/EventEdit.php
@@ -118,7 +118,7 @@ class Application_Form_EventEdit extends Zend_Form
array('Date', false, array('format' => 'mm/dd/yyyy H:i')),
array('DateGreaterThan', false, array('element' => 'End', 'compare' => 'Start', 'min' => $this->getElement('start')->getValue())),
),
- 'required' => true,
+ 'required' => false,
'label' => 'End:',
'value' => date ('m/d/Y H:i', strtotime( $this->params['end'])),
));
@@ -131,7 +131,7 @@ class Application_Form_EventEdit extends Zend_Form
array('Date', false, array('format' => 'mm/dd/yyyy H:i')),
array('DateGreaterThan', false, array('element' => 'End', 'compare' => 'Start', 'min' => $this->getElement('start')->getValue())),
),
- 'required' => true,
+ 'required' => false,
'label' => 'End:',
));
$this->getElement('end')->addPrefixPath('Poolctrl_Validate', 'Poolctrl/Validator/', 'validate');