includes/namespaces/special.php
changeset 1072 604213a07ce0
parent 953 323c4cd1aa37
child 1081 745200a9cc2a
equal deleted inserted replaced
1071:f374801eb775 1072:604213a07ce0
    80       $this->error_404();
    80       $this->error_404();
    81       $output->footer();
    81       $output->footer();
    82     }
    82     }
    83   }
    83   }
    84   
    84   
    85   function error_404()
    85   // We add the unused variable $userpage here to silence "declaration should be compatible" errors
       
    86   function error_404($userpage = false)
    86   {
    87   {
    87     global $lang, $output;
    88     global $lang, $output;
    88     $func_name = "page_{$this->namespace}_{$this->page_id}";
    89     $func_name = "page_{$this->namespace}_{$this->page_id}";
    89     
    90     
    90     if ( $this->namespace == 'Admin' )
    91     if ( $this->namespace == 'Admin' )