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

From: Date: Mon, 19 Apr 2004 22:37:07 +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-11955@lists.php.net to get a copy of this message
Hi! > 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... I am a bit disappointed that nobody released a new version for so long - even I posted the solution of this problem already and it seems that it is already fixed in CVS? (I did not check this - just assume from the entry 7 days ago) Regards Daniel

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