From f386d0480d2f4a0eda4ae48e7f9c6b48e930ba38 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 29 Apr 2007 20:30:15 +0000 Subject: [PATCH] reverted --- etemplate/inc/class.boetemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index 161bb6ed06..1eb654ac0f 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -210,7 +210,7 @@ } $Ok = False; $pat = $org_idx; - while (!$Ok && ($pat = strpos($pat,'$') !== false)) + while (!$Ok && ($pat = @strstr($pat,'$'))) { $pat = substr($pat,$pat[1] == '{' ? 2 : 1);