Update ControllerTask.php

Updated if statement for clarity and also fixed spelling mistake.
This commit is contained in:
pummra 2014-01-08 10:10:40 +00:00
parent d41bb0b1b3
commit 0214ac403e

View file

@ -128,8 +128,8 @@ class ControllerTask extends BakeTask {
}
}
if ($controllersCreated === 0) {
$this->out(__d('cake_console', 'No Controllers were baked, Models need to exisit before Controllers can be baked.', $admin));
if (!$controllersCreated) {
$this->out(__d('cake_console', 'No Controllers were baked, Models need to exist before Controllers can be baked.', $admin));
}
}