Permalink
Browse files

Fixing wrong header message text for ErrorHandler::error500() header …

…sent. Refs #70.""
  • Loading branch information...
1 parent 6572445 commit 86cba7dc502a5604c412ab54cc71f11462d3770a @jperras jperras committed Dec 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/error.php
View
2 cake/libs/error.php
@@ -178,7 +178,7 @@ function error500($params) {
$url = $this->controller->here;
}
$url = Router::normalize($url);
- $this->controller->header("HTTP/1.0 500 Not Found");
+ $this->controller->header("HTTP/1.0 500 Internal Server Error");
$this->controller->set(array(
'code' => '500',
'name' => __('An Internal Error Has Occurred', true),

0 comments on commit 86cba7d

Please sign in to comment.