aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index f5faa7d94..b35d02c13 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -269,7 +269,7 @@ class Template {
$params = array('resource_name' => $this->files[$handle], 'quiet'=>true, 'get_source'=>true);
if ( $this->smarty->_fetch_resource_info($params) )
{
- if (!preg_match('~{(/(if|section|foreach))|\$[a-zA-Z_]+}~', @$params['source_content']) )
+ if (!preg_match('~{(/(if|section|foreach))|ldelim|\$[a-zA-Z_]+}~', @$params['source_content']) )
$is_new = false;
}