We don't need to look $is_int there
This commit is contained in:
parent
c1059875bc
commit
5656c0564a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue