summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapplication/forms/EventEdit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/forms/EventEdit.php b/application/forms/EventEdit.php
index afd4614..a28793e 100755
--- a/application/forms/EventEdit.php
+++ b/application/forms/EventEdit.php
@@ -184,7 +184,7 @@ class Application_Form_EventEdit extends Zend_Form
));
}
- if(isset($this->params['repeat']) == 1) {
+ if($this->params['repeat'] == 1) {
$repeattypefield = $this->createElement('select','repeattype');
$repeattypefield ->setLabel('Repeat Type:');
@@ -204,7 +204,7 @@ class Application_Form_EventEdit extends Zend_Form
$this->addElement($repeattypefield);
}
- if(isset($this->params['repeat']) == 1) {
+ if($this->params['repeat'] == 1) {
$repeatendfield = $this->createElement('select','repeatend');
$repeatendfield ->setLabel('Repeat End:');