diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-03-18 23:43:38 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-03-18 23:43:38 +0000 |
commit | cab98df7768729895771aa072ccc35bc8774e6cb (patch) | |
tree | 4b1e366b8254330cb3264d7d553d89ae3896c230 /include/template.class.php | |
parent | 6ae74fe965c16e1e1dae654eb3e3d43e32224bce (diff) |
- smarty for more mail templates/css
git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/template.class.php | 2 |
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; } |