]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix for pull request 3125
authorMichael <heluecht@pirati.ca>
Wed, 1 Feb 2017 13:50:05 +0000 (13:50 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 1 Feb 2017 13:50:05 +0000 (13:50 +0000)
include/dbm.php

index 7d7045fed481a478db980dcee34187aa68b862d1..62ebb1af082526b8d12ea6eb4154688ffbedba86 100644 (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)."'";