Browse Source

Fixed mistake in UpgradeShell::exceptions()

My fault ;)
jamiemill 14 years ago
parent
commit
e16890225c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Console/Command/UpgradeShell.php

+ 1 - 1
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();'
 			),
 		);