From eadda128aa5490f25087ff988a6f86932cf203af Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 15 Dec 2003 20:27:56 +0000 Subject: - Fixes another 'xtemplate.inc removes "$xx" from content'. Patch by Ax. --- themes/xtemplate/xtemplate.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/xtemplate/xtemplate.inc b/themes/xtemplate/xtemplate.inc index e77836e07..72afbb4e8 100644 --- a/themes/xtemplate/xtemplate.inc +++ b/themes/xtemplate/xtemplate.inc @@ -171,7 +171,7 @@ function parse ($bname) { } } else { $var=trim($var); - $copy=preg_replace("/\{".$v."\}/","$var",$copy); + $copy=str_replace("\{$v}","$var",$copy); } } else { $var=$this->VARS; -- cgit v1.2.3