From: Michael Date: Wed, 1 Feb 2017 13:50:05 +0000 (+0000) Subject: Bugfix for pull request 3125 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da30538a980264da72a7c370013e60b2cb55aafa;p=friendica.git Bugfix for pull request 3125 --- diff --git a/include/dbm.php b/include/dbm.php index 7d7045fed4..62ebb1af08 100644 --- a/include/dbm.php +++ b/include/dbm.php @@ -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)."'";