Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.1

Bug #5216 Invalid argument supplied for foreach()
Submitted: 2005-08-26 23:44 UTC
From: jamie dot alessio at ucop dot edu Assigned: farell
Status: Closed Package: HTML_QuickForm_advmultiselect
PHP Version: 5.0.4 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-08-26 23:44 UTC] jamie dot alessio at ucop dot edu
Description: ------------ A PHP error is being triggered when all options are in the "selected" widget. Here's the error message: ---------- Warning: Invalid argument supplied for foreach() in /home/users/f/farell/include/HTML/QuickForm/advmultiselect.php on line 566 ---------- You can duplicate this error at the following URL: http://www.laurent-laville.org/pear/HTML_QuickForm_advmultiselect/examples/qfams_basic_1.php Select all the cars on the left, click ">>" to move them all to the right and then submit the form.

Comments

 [2005-08-27 13:24 UTC] farell
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Hi and thanks for reporting this warning error Jamie its allows me to find two others foreach() problems fixed also into CVS. The stable version 1.0.0 is still planned for September 1st, 2005. regards Laurent