Skip to content
This repository
Browse code

minor cleanup

  • Loading branch information...
commit 4b75c6b78e849d0bf74d3d1e9115d853e12c40f0 1 parent ef51962
Mark Story authored May 10, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  cake/console/libs/tasks/model.php
2  cake/console/libs/tasks/model.php
@@ -972,7 +972,7 @@ function getTable($modelName, $useDbConfig = null) {
972 972
 			$this->out(sprintf(__("Given your model named '%s',\nCake would expect a database table named '%s'", true), $modelName, $fullTableName));
973 973
 			$tableIsGood = $this->in(__('Do you want to use this table?', true), array('y','n'), 'y');
974 974
 		}
975  
-		if (low($tableIsGood) == 'n' || low($tableIsGood) == 'no') {
  975
+		if (strtolower($tableIsGood) == 'n') {
976 976
 			$useTable = $this->in(__('What is the name of the table (enter "null" to use NO table)?', true));
977 977
 		}
978 978
 		return $useTable;

0 notes on commit 4b75c6b

Please sign in to comment.
Something went wrong with that request. Please try again.