aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/template.class.php')
-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;