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