diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-02-27 03:15:31 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-02-27 03:15:31 +0000 |
commit | 98d4b284e047f1fcb991935e689192c47fca457c (patch) | |
tree | c6fa3ce45e730e4f764ee913ee1032762f670b2e /include | |
parent | 75bb450a6ece6b2e30ad4c148083b7192d7d7224 (diff) |
- works with PHP5
git-svn-id: http://piwigo.org/svn/trunk@2217 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 1aaacae41..da4b69034 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -245,7 +245,7 @@ class Template { $is_new = true; $params = array('resource_name' => $this->files[$handle], 'quiet'=>true, 'get_source'=>true); - if ( $this->smarty->_fetch_resource_info(&$params) ) + if ( $this->smarty->_fetch_resource_info($params) ) { if (!preg_match('~{(/(if|section|foreach))|\$[a-zA-Z_]+}~', @$params['source_content']) ) $is_new = false; |