From ed77eebe59c8b7ae073cf636e917465eeecd3902 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 21 Jun 2011 12:03:23 -0400 Subject: [PATCH] - removed validator on logo image for now --- airtime_mvc/application/forms/RegisterAirtime.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/forms/RegisterAirtime.php b/airtime_mvc/application/forms/RegisterAirtime.php index ee861cab4..a3fedd4c0 100644 --- a/airtime_mvc/application/forms/RegisterAirtime.php +++ b/airtime_mvc/application/forms/RegisterAirtime.php @@ -95,14 +95,14 @@ class Application_Form_RegisterAirtime extends Zend_Form $upload = new Zend_Form_Element_File('Logo'); $upload->setLabel('Station Logo:') ->setRequired(false) - ->setDecorators(array('File')) - ->addValidator('Count', false, 1) + ->setDecorators(array('File')); + /*->addValidator('Count', false, 1) ->addValidator('Extension', false, 'jpg,png,gif') ->addValidator('ImageSize', false, array( 'minwidth' => 200, 'minheight' => 200, 'maxwidth' => 600, - 'maxheight' => 600)); + 'maxheight' => 600));*/ $this->addElement($upload); //enable support feedback