RE: [PEAR] [ANNOUNCEMENT] HTML_QuickForm-3.2.2 (stable) Released.

From: Date: Tue, 23 Mar 2004 08:56:00 +0000
Subject: RE: [PEAR] [ANNOUNCEMENT] HTML_QuickForm-3.2.2 (stable) Released.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11449@lists.php.net to get a copy of this message
Hi! Just found out that I did not send this to the list because I just hit reply which ended up in the announce list ... This is also the point in the posting of Eric B. Blanchi I hope that they will send a new update soon ... Or you just update it according to the function bellow. If I remember correctly the only changed lines are the ones with an asterisk: I get a Notice: Use of undefined constant e - assumed 'e' in xxx\hierselect.php(222) : eval()'d code on line 1 Seems there should be: function _setOptions() { $toLoad = ''; foreach (array_keys($this->_elements) AS $key) { * if (eval("return isset(\$this->_options['{$key}']{$toLoad});") ) { * $array = eval("return \$this->_options['{$key}']{$toLoad};"); if (is_array($array)) { $select =& $this->_elements[$key]; $select->_options = array(); $select->loadArray($array); $value = is_array($v = $select->getValue()) ? $v[0] : key($array); * $toLoad .= '[\''.$value.'\']'; } } } } // end func _setOptions but I don't know ... too complex to be able to easily say something here I hope I am not the only person who sees NOTICES... Otherwise you won't see this... regards Daniel PS.: Open Source forever :-)

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