From 7c08e4b0f46c1e05b05797e5ea903aac43f33270 Mon Sep 17 00:00:00 2001 From: slimus Date: Sat, 28 Jan 2012 23:45:44 +0700 Subject: [PATCH] Update lib/Cake/Console/Shell.php --- lib/Cake/Console/Shell.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Console/Shell.php b/lib/Cake/Console/Shell.php index 11584500b..83404b371 100644 --- a/lib/Cake/Console/Shell.php +++ b/lib/Cake/Console/Shell.php @@ -453,8 +453,8 @@ class Shell extends Object { if (!$this->interactive) { return $default; } - $original_options = $options; - $in = $this->_getInput($prompt, $original_options, $default); + $originalOptions = $options; + $in = $this->_getInput($prompt, $originalOptions, $default); if ($options && is_string($options)) { if (strpos($options, ',')) { @@ -472,7 +472,7 @@ class Shell extends Object { $options ); while ($in === '' || !in_array($in, $options)) { - $in = $this->_getInput($prompt, $original_options, $default); + $in = $this->_getInput($prompt, $originalOptions, $default); } } return $in;