logo       

cvs: pear /HTML_QuickForm/QuickForm element.php: msg#00620

php.cvs.pear

Subject: cvs: pear /HTML_QuickForm/QuickForm element.php

jrust Fri Sep 27 13:24:10 2002 EDT

Modified files:
/pear/HTML_QuickForm/QuickForm element.php
Log:
Extra ] causing error


Index: pear/HTML_QuickForm/QuickForm/element.php
diff -u pear/HTML_QuickForm/QuickForm/element.php:1.10
pear/HTML_QuickForm/QuickForm/element.php:1.11
--- pear/HTML_QuickForm/QuickForm/element.php:1.10 Fri Sep 27 07:33:42 2002
+++ pear/HTML_QuickForm/QuickForm/element.php Fri Sep 27 13:24:10 2002
@@ -17,7 +17,7 @@
// | Bertrand Mansion <bmansion@xxxxxxxxxxx> |
// +----------------------------------------------------------------------+
//
-// $Id: element.php,v 1.10 2002/09/27 11:33:42 mansion Exp $
+// $Id: element.php,v 1.11 2002/09/27 17:24:10 jrust Exp $

require_once('HTML/Common.php');

@@ -89,7 +89,7 @@
if (isset($elementLabel)) {
$this->setLabel($elementLabel);
}
- $vars = array_merge($_GET, $_POST]);
+ $vars = array_merge($_GET, $_POST);
if (isset($vars[$this->getName()])) {
if (is_string($vars[$this->getName()]) && get_magic_quotes_gpc()
== 1) {
$submitValue = stripslashes($vars[$this->getName()]);
@@ -372,4 +372,4 @@
// }}}

} // end class HTML_QuickForm_element
-?>
\ No newline at end of file
+?>



--
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>
Google Custom Search

News | FAQ | advertise