1
1
Fork 0

Bugfix for pull request 3125

This commit is contained in:
Michael 2017-02-01 13:50:05 +00:00
parent 44bd890645
commit da30538a98

View file

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