Browse Source

avoid E_STRICT errors

pdontthink 17 years ago
parent
commit
4f1a58c843
1 changed files with 2 additions and 2 deletions
  1. 2 2
      class/template/Template.class.php

+ 2 - 2
class/template/Template.class.php

@@ -1420,9 +1420,9 @@ FIXME: We could make the incoming array more complex so it can
         } else {
         } else {
 
 
             $aPluginOutput = array();
             $aPluginOutput = array();
+            $temp = array(&$aPluginOutput, &$this);
             $aPluginOutput = concat_hook_function('template_construct_' . $file,
             $aPluginOutput = concat_hook_function('template_construct_' . $file,
-                                                  $temp=array(&$aPluginOutput, &$this),
-                                                  TRUE);
+                                                  $temp, TRUE);
             $this->assign('plugin_output', $aPluginOutput);
             $this->assign('plugin_output', $aPluginOutput);
 
 
             //$output = $this->apply_template($template);
             //$output = $this->apply_template($template);