summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/database/sqlite/database.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/sqlite/database.inc b/includes/database/sqlite/database.inc
index 17d9034a9..af20b10be 100644
--- a/includes/database/sqlite/database.inc
+++ b/includes/database/sqlite/database.inc
@@ -229,7 +229,7 @@ class DatabaseStatement_sqlite extends DatabaseStatementPrefetch implements Iter
else {
// Else, this is using named placeholders.
foreach ($args as $placeholder => $value) {
- if (is_numeric($value)) {
+ if (is_float($value) || is_int($value)) {
// We will remove this placeholder from the query and PDO throws an
// exception if the number of placeholders in the query and the
// arguments does not match.