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) {
$casted = [];
foreach ($value as $single_value) {
if ($is_int AND !$is_alpha) {
if (!$is_alpha) {
$casted[] = (int)$single_value;
} else {
$casted[] = (string)$single_value;