aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-27 03:15:31 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-27 03:15:31 +0000
commit98d4b284e047f1fcb991935e689192c47fca457c (patch)
treec6fa3ce45e730e4f764ee913ee1032762f670b2e /include
parent75bb450a6ece6b2e30ad4c148083b7192d7d7224 (diff)
- works with PHP5
git-svn-id: http://piwigo.org/svn/trunk@2217 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-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 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;