Browse Source

Reverted the change from while to if.

Juan Basso 14 years ago
parent
commit
511b480285
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Console/Command/Task/PluginTask.php

+ 1 - 1
lib/Cake/Console/Command/Task/PluginTask.php

@@ -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'));
 		}