Permalink
Browse files

Fix coding standard issues in Error/

  • Loading branch information...
1 parent 63c992a commit 60989ad6c8a576e400b930fb000b5fb2fe06e80e @markstory markstory committed Mar 4, 2012
Showing with 75 additions and 11 deletions.
  1. +1 −0 lib/Cake/Error/ErrorHandler.php
  2. +2 −1 lib/Cake/Error/ExceptionRenderer.php
  3. +72 −10 lib/Cake/Error/exceptions.php
@@ -224,4 +224,5 @@ public static function mapErrorCode($code) {
}
return array($error, $log);
}
+
}
@@ -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');
@@ -286,4 +286,5 @@ protected function _outputMessageSafe($template) {
$this->controller->response->type('html');
$this->controller->response->send();
}
+
}
Oops, something went wrong. Retry.

0 comments on commit 60989ad

Please sign in to comment.