Home » HTML » HTML_QuickForm » Bug #1486
Heirselect with non-numeric indexes fails
Details
| Submitted | 2004-05-24 19:04 UTC |
|---|---|
| From | jeichorn at phpdoc dot org |
| Assigned | avb |
| Status | Closed |
| Package | HTML_QuickForm |
| PHP Version | 4.3.6 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-05-24 19:04 UTC] jeichorn at phpdoc dot org
Description:
------------
HTML_QuickForm-3.2.2
Using a 4 level deep heir select. Indexes to options arrays are hexidecimal.
Setting defaults wasn't working right, In my testing i was able to get an error message about Line 230 of QuickForm/heirselect.php
Adding quotes around the index access in the eval'd code seems to fix the problem:
$toLoad .= '[\''.$value.'\']';
[2004-05-25 16:08 UTC] jeichorn at phpdoc dot org
Fixed in CVS thanks