Permalink
Browse files

minor cleanup

  • Loading branch information...
1 parent ef51962 commit 4b75c6b78e849d0bf74d3d1e9115d853e12c40f0 @markstory markstory committed May 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/libs/tasks/model.php
@@ -972,7 +972,7 @@ function getTable($modelName, $useDbConfig = null) {
$this->out(sprintf(__("Given your model named '%s',\nCake would expect a database table named '%s'", true), $modelName, $fullTableName));
$tableIsGood = $this->in(__('Do you want to use this table?', true), array('y','n'), 'y');
}
- if (low($tableIsGood) == 'n' || low($tableIsGood) == 'no') {
+ if (strtolower($tableIsGood) == 'n') {
$useTable = $this->in(__('What is the name of the table (enter "null" to use NO table)?', true));
}
return $useTable;

0 comments on commit 4b75c6b

Please sign in to comment.