Applying patch from 'davidpersson' fixing code spacing. Closes #5643

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-10-23 00:10:44 +00:00
parent 6da2040b45
commit 1b456f2cf1
70 changed files with 233 additions and 233 deletions

View file

@ -110,9 +110,9 @@ class ErrorHandler extends Object {
}
if ($method !== 'error') {
if (Configure::read() == 0){
if (Configure::read() == 0) {
$method = 'error404';
if(isset($code) && $code == 500) {
if (isset($code) && $code == 500) {
$method = 'error500';
}
}