PEAR is archived and read-only

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

Home » HTML » HTML_QuickForm_advmultiselect » Bug #5216

Invalid argument supplied for foreach()

Details

Submitted2005-08-26 23:44 UTC
Fromjamie dot alessio at ucop dot edu
Assignedfarell
StatusClosed
PackageHTML_QuickForm_advmultiselect
PHP Version5.0.4
Roadmaps(Not assigned)

Comments

[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.