diff --git a/lib/Cake/Console/Command/UpgradeShell.php b/lib/Cake/Console/Command/UpgradeShell.php index 63b1cc268..66d59be5b 100644 --- a/lib/Cake/Console/Command/UpgradeShell.php +++ b/lib/Cake/Console/Command/UpgradeShell.php @@ -547,7 +547,7 @@ class UpgradeShell extends Shell { ), array( '$this->cakeError("error500") -> throw new InternalErrorException()', - '/(\$this->cakeError\(["\']error404["\']\));/', + '/(\$this->cakeError\(["\']error500["\']\));/', 'throw new InternalErrorException();' ), );