From cab98df7768729895771aa072ccc35bc8774e6cb Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 18 Mar 2008 23:43:38 +0000 Subject: - smarty for more mail templates/css git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/template.class.php') 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; } -- cgit v1.2.3