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();