From da30538a980264da72a7c370013e60b2cb55aafa Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 1 Feb 2017 13:50:05 +0000 Subject: [PATCH] Bugfix for pull request 3125 --- include/dbm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)."'"; -- 2.39.5