Bug in IT.php (HTML_Template_IT)
| From: | Marco Wittwer | Date: | Wed, 29 Jan 2003 14:38:14 +0000 |
| Subject: | Bug in IT.php (HTML_Template_IT) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3517@lists.php.net to get a copy of this message | ||
Hello
I have a variable with the string =$A3*B$2
I add this to my Template with setVariable().
Then I parse the Template with parse().
And then I display it with show().
The string shows as =$A3*B
Where is the $2?
I fixed this Bug in the parse-function:
line 462: $values[] = addcslashes($this->variableCache[$allowedvar],'$');
I think, this Bug is in line 452 too:
$values[] = addcslashes($value,'$');
Can anyone fix this in the repository?
Thank you very much!
Marco