From 5656c0564afef720b427b34c857d7d96e65a75ad Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 21 Jun 2018 19:52:28 +0000 Subject: [PATCH] We don't need to look $is_int there --- include/dba.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dba.php b/include/dba.php index 17234f02b3..47471ae952 100644 --- a/include/dba.php +++ b/include/dba.php @@ -1314,7 +1314,7 @@ class dba { if ($is_int) { $casted = []; foreach ($value as $single_value) { - if ($is_int AND !$is_alpha) { + if (!$is_alpha) { $casted[] = (int)$single_value; } else { $casted[] = (string)$single_value;