1
0
Fork 0

We don't need to look $is_int there

This commit is contained in:
Michael 2018-06-21 19:52:28 +00:00
parent c1059875bc
commit 5656c0564a

View file

@ -1314,7 +1314,7 @@ class dba {
if ($is_int) { if ($is_int) {
$casted = []; $casted = [];
foreach ($value as $single_value) { foreach ($value as $single_value) {
if ($is_int AND !$is_alpha) { if (!$is_alpha) {
$casted[] = (int)$single_value; $casted[] = (int)$single_value;
} else { } else {
$casted[] = (string)$single_value; $casted[] = (string)$single_value;