mirror of
https://github.com/friendica/friendica
synced 2025-01-25 20:59:46 +00:00
Merge pull request #3143 from annando/develop
Bugfix for pull request 3125
This commit is contained in:
commit
39136b6485
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class dbm {
|
||||||
|
|
||||||
if (is_bool($value)) {
|
if (is_bool($value)) {
|
||||||
$value = ($value ? 'true' : 'false');
|
$value = ($value ? 'true' : 'false');
|
||||||
} elseif (is_numeric($value)) {
|
} elseif (is_float($value) OR is_integer($value)) {
|
||||||
$value = (string)$value;
|
$value = (string)$value;
|
||||||
} else {
|
} else {
|
||||||
$value = "'".dbesc($value)."'";
|
$value = "'".dbesc($value)."'";
|
||||||
|
|
Loading…
Add table
Reference in a new issue