[QF] Hierselect, maybe bug

From: Date: Wed, 17 Mar 2004 00:25:14 +0000
Subject: [QF] Hierselect, maybe bug
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11337@lists.php.net to get a copy of this message
Hi, There is a "Notice: Undefined offset 0 in /usr/local/php/lib/php/HTML/QuickForm/hierselect.php on line 186" if the first select of the hierselect isn't selected. This happens when the attribute size="10" is set. Setting a default value can always be unselected by the user and would result in the same issue (i'm guessing). Is this a bug (and thus should I report it)? or should I simply add a javascript function to select the default value if nothing is selected. In my specific form i don't care about any of the values in either hierselect selects. Cheers, Eb. --

« previous php.pear.general (#11337) next »