From 246095a97d3a59109e0560e211d6bb2cf2f94a3b Mon Sep 17 00:00:00 2001 From: gwoo Date: Tue, 25 Mar 2008 21:39:34 +0000 Subject: [PATCH] updating model task, may be related to #4363 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6599 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/libs/tasks/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/console/libs/tasks/model.php b/cake/console/libs/tasks/model.php index 253f15d0b..19d5a54dc 100644 --- a/cake/console/libs/tasks/model.php +++ b/cake/console/libs/tasks/model.php @@ -281,7 +281,7 @@ class ModelTask extends Shell { } else { $choice = $guess; } - if ($choice !== $skip) { + if ($choice != $skip) { if (is_numeric($choice) && isset($choices[$choice])) { $validate[$fieldName] = $choices[$choice]; } else {