-- gerardroche <[EMAIL PROTECTED]> wrote
(on Monday, 08 September 2008, 10:17 PM -0700):
> If a file is submitted via Zend_Form_Element_File it returns the files
> location,
> 
> i.e. $location = $form->foo->getValue();
> 
> but if no file is submitted it returns the the destination directory, i.e.
> if by default, the system temp directory.
> 
> Is this expected behavior? Wouldn't it be better to have it return null if
> no file was uploaded?

Please look at current trunk, where I believe this behavior has changed.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to