mirror of
https://github.com/friendica/friendica
synced 2024-12-24 00:40:16 +00:00
Merge remote-tracking branch 'upstream/develop' into 1701-performance
This commit is contained in:
commit
f6e1fbfcaa
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class dbm {
|
|||
|
||||
if (is_bool($value)) {
|
||||
$value = ($value ? 'true' : 'false');
|
||||
} elseif (is_numeric($value)) {
|
||||
} elseif (is_float($value) OR is_integer($value)) {
|
||||
$value = (string)$value;
|
||||
} else {
|
||||
$value = "'".dbesc($value)."'";
|
||||
|
|
Loading…
Reference in a new issue