1
0
Fork 0

Merge pull request #3143 from annando/develop

Bugfix for pull request 3125
This commit is contained in:
Tobias Diekershoff 2017-02-01 16:33:48 +01:00 committed by GitHub
commit 39136b6485

View file

@ -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)."'";