mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
Issue 14001: Fix "Incorrect integer value"
This commit is contained in:
parent
b8396daca2
commit
f1be6d5181
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue