mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
Merge pull request #14003 from annando/issue-14001
Issue 14001: Fix "Incorrect integer value"
This commit is contained in:
commit
4bbc1d84ce
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class Probe
|
||||||
} else {
|
} else {
|
||||||
$newdata[$field] = trim($data[$field]);
|
$newdata[$field] = trim($data[$field]);
|
||||||
}
|
}
|
||||||
} elseif (!in_array($field, $numeric_fields)) {
|
} elseif (!in_array($field, $numeric_fields) && !in_array($field, $boolean_fields)) {
|
||||||
$newdata[$field] = '';
|
$newdata[$field] = '';
|
||||||
} else {
|
} else {
|
||||||
$newdata[$field] = null;
|
$newdata[$field] = null;
|
||||||
|
|
Loading…
Reference in a new issue