alan_k Sat Jan 25 14:09:07 2003 EDT
Modified files:
/pear/HTML_Template_Flexy/Flexy Token.php
Log:
fix [] in field names
Index: pear/HTML_Template_Flexy/Flexy/Token.php
diff -u pear/HTML_Template_Flexy/Flexy/Token.php:1.1
pear/HTML_Template_Flexy/Flexy/Token.php:1.2
--- pear/HTML_Template_Flexy/Flexy/Token.php:1.1 Sat Jan 25 14:02:11 2003
+++ pear/HTML_Template_Flexy/Flexy/Token.php Sat Jan 25 14:09:06 2003
@@ -16,7 +16,7 @@
// | Authors: Alan Knowles <alan@akbkhome> |
// +----------------------------------------------------------------------+
//
-// $Id: Token.php,v 1.1 2003/01/25 19:02:11 alan_k Exp $
+// $Id: Token.php,v 1.2 2003/01/25 19:09:06 alan_k Exp $
//
// This is the master Token file for The New Token driver Engine.
// All the Token output, and building routines are in here.
@@ -353,8 +353,8 @@
}
$this->postfix = array(
- $this->create("PHP", "<?php if
(isset(\$this->errors['".$name."'])) { ".
- "echo htmlspecialchars(\$this->errors['".$name. "']); }
?>",$this->line));
+ $this->create("PHP", "<?php if
(isset(\$this->errors['".urlencode($name)."'])) { ".
+ "echo htmlspecialchars(\$this->errors['".urlencode($name).
"']); } ?>",$this->line));
// this should use <div name="form.error"> or something...
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|