Permalink
Browse files

Fix variable naming.

  • Loading branch information...
markstory committed Oct 4, 2012
1 parent 1c0492e commit 57f81da98383f767268d5841e7c770ac8c2fb1b2
Showing with 3 additions and 3 deletions.
  1. +3 −3 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;

0 comments on commit 57f81da

Please sign in to comment.