Reverted the change from while to if.

This commit is contained in:
Juan Basso 2011-07-28 23:25:21 -04:00
parent 9e75de2f28
commit 511b480285

View file

@ -69,7 +69,7 @@ class PluginTask extends Shell {
* @return void
*/
protected function _interactive($plugin = null) {
if ($plugin === null) {
while ($plugin === null) {
$plugin = $this->in(__d('cake_console', 'Enter the name of the plugin in CamelCase format'));
}