diff -r 2d37a11fabd8 -r c1be67a50d81 includes/namespaces/default.php --- a/includes/namespaces/default.php Wed Aug 26 13:43:11 2009 -0400 +++ b/includes/namespaces/default.php Wed Aug 26 23:25:39 2009 -0400 @@ -533,11 +533,13 @@ } } - public function error_404($userpage = false) + public function error_404() { global $db, $session, $paths, $template, $plugins; // Common objects global $lang, $output; + $userpage = $this->namespace == 'User'; + @header('HTTP/1.1 404 Not Found'); $msg = ( $pp = $paths->sysmsg('Page_not_found') ) ? $pp : '{STANDARD404}';