mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
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
This commit is contained in:
parent
92c466c0dc
commit
246095a97d
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class ModelTask extends Shell {
|
||||||
} else {
|
} else {
|
||||||
$choice = $guess;
|
$choice = $guess;
|
||||||
}
|
}
|
||||||
if ($choice !== $skip) {
|
if ($choice != $skip) {
|
||||||
if (is_numeric($choice) && isset($choices[$choice])) {
|
if (is_numeric($choice) && isset($choices[$choice])) {
|
||||||
$validate[$fieldName] = $choices[$choice];
|
$validate[$fieldName] = $choices[$choice];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue