Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix variable naming.

  • Loading branch information...
commit 57f81da98383f767268d5841e7c770ac8c2fb1b2 1 parent 1c0492e
@markstory markstory authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Error/ExceptionRenderer.php
View
6 lib/Cake/Error/ExceptionRenderer.php
@@ -116,11 +116,11 @@ public function __construct(Exception $exception) {
}
}
- $isDebug = (Configure::read('debug') == 0);
- if ($isDebug && $method == '_cakeError') {
+ $isNotDebug = (Configure::read('debug') == 0);
+ if ($isNotDebug && $method == '_cakeError') {
$method = 'error400';
}
- if ($isDebug && $code == 500) {
+ if ($isNotDebug && $code == 500) {
$method = 'error500';
}
$this->template = $template;
Please sign in to comment.
Something went wrong with that request. Please try again.