Date: 07/12/00
- Next message: thies <email protected>: "Re: [phplib-dev] cvs commit"
- Previous message: kk: "[phplib-dev] cvs commit"
- Next in thread: thies <email protected>: "Re: [phplib-dev] cvs commit"
- Reply: thies <email protected>: "Re: [phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: kk
Date: Wed Jul 12 13:18:00 2000
Modified files:
php-lib-stable/php/template.inc
Log message:
PHP4 fix.
Index: php-lib-stable/php/template.inc
diff -u php-lib-stable/php/template.inc:1.2 php-lib-stable/php/template.inc:1.3
--- php-lib-stable/php/template.inc:1.2 Tue Apr 25 08:04:58 2000
+++ php-lib-stable/php/template.inc Wed Jul 12 13:17:29 2000
@@ -5,7 +5,7 @@
* (C) Copyright 1999 NetUSE GmbH
* Kristian Koehntopp
*
- * $Id: template.inc,v 1.2 2000/04/25 06:04:58 kk Exp $
+ * $Id: template.inc,v 1.3 2000/07/12 11:17:29 kk Exp $
*
*/
@@ -106,7 +106,7 @@
$str = $this->get_var($parent);
$reg = "/<!--\s+BEGIN $handle\s+-->(.*)<!--\s+END $handle\s+-->/sm";
preg_match_all($reg, $str, $m);
- $str = preg_replace($reg, "{$name}", $str);
+ $str = preg_replace($reg, "\{$name}", $str);
$this->set_var($handle, $m[1][0]);
$this->set_var($parent, $str);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: thies <email protected>: "Re: [phplib-dev] cvs commit"
- Previous message: kk: "[phplib-dev] cvs commit"
- Next in thread: thies <email protected>: "Re: [phplib-dev] cvs commit"
- Reply: thies <email protected>: "Re: [phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

