From 511b480285a938ec6f8a802f16a99d616660c5a5 Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Thu, 28 Jul 2011 23:25:21 -0400 Subject: [PATCH] Reverted the change from while to if. --- lib/Cake/Console/Command/Task/PluginTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Console/Command/Task/PluginTask.php b/lib/Cake/Console/Command/Task/PluginTask.php index 9f998348483..7a1209a069d 100644 --- a/lib/Cake/Console/Command/Task/PluginTask.php +++ b/lib/Cake/Console/Command/Task/PluginTask.php @@ -69,7 +69,7 @@ public function execute() { * @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')); }