includes/template.php
changeset 1072 604213a07ce0
parent 1069 d54e7620bd3e
child 1081 745200a9cc2a
--- a/includes/template.php	Mon Aug 03 02:58:43 2009 -0400
+++ b/includes/template.php	Tue Aug 04 15:02:00 2009 -0400
@@ -2840,7 +2840,8 @@
    * @param $vars array
    */
   
-  function assign_vars($vars)
+  // We add the unused variable $from_internal here to silence "declaration should be compatible" errors
+  function assign_vars($vars, $from_internal = false)
   {
     $this->tpl_strings = array_merge($this->tpl_strings, $vars);
   }
@@ -2850,7 +2851,8 @@
    * @param $vars array
    */
   
-  function assign_bool($vars)
+  // We add the unused variable $from_internal here to silence "declaration should be compatible" errors
+  function assign_bool($vars, $from_internal = false)
   {
     $this->tpl_bool = array_merge($this->tpl_bool, $vars);
   }