includes/namespaces/special.php
changeset 1072 604213a07ce0
parent 953 323c4cd1aa37
child 1081 745200a9cc2a
--- a/includes/namespaces/special.php	Mon Aug 03 02:58:43 2009 -0400
+++ b/includes/namespaces/special.php	Tue Aug 04 15:02:00 2009 -0400
@@ -82,7 +82,8 @@
     }
   }
   
-  function error_404()
+  // We add the unused variable $userpage here to silence "declaration should be compatible" errors
+  function error_404($userpage = false)
   {
     global $lang, $output;
     $func_name = "page_{$this->namespace}_{$this->page_id}";