|
cvs: pear /HTML_QuickForm QuickForm.php: msg#00619php.cvs.pear
jrust Fri Sep 27 13:23:41 2002 EDT Modified files: /pear/HTML_QuickForm QuickForm.php Log: Old way of grabbing variables using method was giving fatal error. Index: pear/HTML_QuickForm/QuickForm.php diff -u pear/HTML_QuickForm/QuickForm.php:1.37 pear/HTML_QuickForm/QuickForm.php:1.38 --- pear/HTML_QuickForm/QuickForm.php:1.37 Fri Sep 27 07:06:09 2002 +++ pear/HTML_QuickForm/QuickForm.php Fri Sep 27 13:23:41 2002 @@ -17,7 +17,7 @@ // | Bertrand Mansion <bmansion@xxxxxxxxxxx> | // +----------------------------------------------------------------------+ // -// $Id: QuickForm.php,v 1.37 2002/09/27 11:06:09 mansion Exp $ +// $Id: QuickForm.php,v 1.38 2002/09/27 17:23:41 jrust Exp $ require_once('PEAR.php'); require_once('HTML/Common.php'); @@ -304,7 +304,7 @@ $action = ($action == '') ? $_SERVER['PHP_SELF'] : $action; $this->updateAttributes(array('action'=>$action, 'method'=>$method, 'name'=>$formName, 'target'=>$target)); $this->_registeredTypes = &$GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES']; - $this->_submitValues = $_${$method}; + $this->_submitValues = $GLOBALS['_' . $method]; $this->_submitFiles = $_FILES; } // end constructor -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pear /Log Log.php: 00619, Jon Parise |
|---|---|
| Next by Date: | cvs: pear /HTML_QuickForm/QuickForm element.php: 00619, Jason Rust |
| Previous by Thread: | cvs: pear /HTML_QuickForm QuickForm.phpi: 00619, Bertrand Mansion |
| Next by Thread: | cvs: pear /PECL/mailparse Makefile.frag: 00619, Wez Furlong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |