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 #1486

Heirselect with non-numeric indexes fails

Details

Submitted2004-05-24 19:04 UTC
Fromjeichorn at phpdoc dot org
Assignedavb
StatusClosed
PackageHTML_QuickForm
PHP Version4.3.6
OSLinux
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