#21951 [NEW]: IT.php (HTML_Template_IT)
| From: | wima at tiscalinet dot ch | Date: | Wed, 29 Jan 2003 20:29:45 +0000 |
| Subject: | #21951 [NEW]: IT.php (HTML_Template_IT) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-12828@lists.php.net to get a copy of this message | ||
From: wima@tiscalinet.ch
Operating system: Windows, Linux
PHP version: 4.2.3
PHP Bug Type: PEAR related
Bug description: IT.php (HTML_Template_IT)
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
--
Edit bug report at http://bugs.php.net/?id=21951&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21951&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21951&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21951&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21951&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21951&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21951&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21951&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21951&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21951&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21951&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21951&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21951&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21951&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21951&r=gnused