PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #3161

validate() doesn´t care of files

Details

Submitted2005-01-11 11:54 UTC
Fromquickform at yellowsunshine dot de
StatusBogus
PackageHTML_QuickForm
PHP Version4.3.4
OSDebian Linux
Roadmaps(Not assigned)

Comments

[2005-01-11 11:54 UTC] quickform at yellowsunshine dot de

Description:
------------
HTML_QuickForm::validate() method returns TRUE if element of type 'file' with 'required'-rule is set even file was not selected/uploded.

Expected result:
----------------
Should return FALSE if file-data is missing.