From cb9d5630b34f39e2f6b44e4d15a483fb5569b89c Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Tue, 11 Oct 2011 14:21:52 +0200 Subject: minor --- application/forms/EventEdit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/forms/EventEdit.php') 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:'); -- cgit v1.2.3-55-g7522