cvs: pear /HTML_Template_PHPLIB PHPLIB.php
| From: | Christian Weiske | Date: | Mon, 30 Oct 2006 23:44:09 +0000 |
| Subject: | cvs: pear /HTML_Template_PHPLIB PHPLIB.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-42902@lists.php.net to get a copy of this message | ||
cweiske Mon Oct 30 23:44:09 2006 UTC
Modified files:
/pear/HTML_Template_PHPLIB PHPLIB.php
Log:
Fixing bug #6945
http://cvs.php.net/viewvc.cgi/pear/HTML_Template_PHPLIB/PHPLIB.php?r1=1.14&r2=1.15&diff_format=u
Index: pear/HTML_Template_PHPLIB/PHPLIB.php
diff -u pear/HTML_Template_PHPLIB/PHPLIB.php:1.14 pear/HTML_Template_PHPLIB/PHPLIB.php:1.15
--- pear/HTML_Template_PHPLIB/PHPLIB.php:1.14 Wed Jun 11 06:03:32 2003
+++ pear/HTML_Template_PHPLIB/PHPLIB.php Mon Oct 30 23:44:08 2006
@@ -8,7 +8,7 @@
// Bjoern Schotte <bjoern@rent-a-phpwizard.de> (PEARification)
// Martin Jansen <mj@php.net> (PEAR conformance)
//
-// $Id: PHPLIB.php,v 1.14 2003/06/11 06:03:32 bjoern Exp $
+// $Id: PHPLIB.php,v 1.15 2006/10/30 23:44:08 cweiske Exp $
//
require_once "PEAR.php";
@@ -414,7 +414,7 @@
break;
case "comment":
- $str = preg_replace('/{([^ \t\r\n}]+)}/', "<!-- Template $handle:
Variable \\1 undefined -->", $str);
+ $str = preg_replace('/{([^ \t\r\n}]+)}/', "<!-- Template variable
\\1 undefined -->", $str);
break;
}