From b3e2250391a35bd884a8fc280947853172676b70 Mon Sep 17 00:00:00 2001 From: "Marek A. R" Date: Fri, 1 Aug 2008 15:13:23 +0000 Subject: [PATCH] Compile things like {$FOO} again. git-svn-id: file:///svn/phpbb/trunk@8741 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php index 2c82c4ecdc..1f7eeb9030 100644 --- a/phpBB/includes/functions_template.php +++ b/phpBB/includes/functions_template.php @@ -23,7 +23,7 @@ if (!defined('IN_PHPBB')) */ class template_filter extends php_user_filter { - private $regex = '~|{((?:[a-z][a-z_0-9]+\.)*[A-Z][A-Z_0-9]+)}~'; + private $regex = '~|{((?:[a-z][a-z_0-9]+\.)*\\$?[A-Z][A-Z_0-9]+)}~'; private $blocks = array(); private $block_names = array();