Skip to content

Commit

Permalink
Fix coding standard issues in Error/
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 4, 2012
1 parent 63c992a commit 60989ad
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 11 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Error/ErrorHandler.php
Expand Up @@ -224,4 +224,5 @@ public static function mapErrorCode($code) {
}
return array($error, $log);
}

}
3 changes: 2 additions & 1 deletion lib/Cake/Error/ExceptionRenderer.php
Expand Up @@ -203,7 +203,7 @@ public function error400($error) {
$this->controller->set(array(
'name' => $message,
'url' => h($url),
'error' => $error,
'error' => $error,
'_serialize' => array('name', 'url')
));
$this->_outputMessage('error400');
Expand Down Expand Up @@ -286,4 +286,5 @@ protected function _outputMessageSafe($template) {
$this->controller->response->type('html');
$this->controller->response->send();
}

}

0 comments on commit 60989ad

Please sign in to comment.