Merge pull request #14003 from annando/issue-14001
Issue 14001: Fix "Incorrect integer value"
This commit is contained in:
commit
4bbc1d84ce
|
@ -140,7 +140,7 @@ class Probe
|
|||
} else {
|
||||
$newdata[$field] = trim($data[$field]);
|
||||
}
|
||||
} elseif (!in_array($field, $numeric_fields)) {
|
||||
} elseif (!in_array($field, $numeric_fields) && !in_array($field, $boolean_fields)) {
|
||||
$newdata[$field] = '';
|
||||
} else {
|
||||
$newdata[$field] = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user