mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
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) {
|
||||
$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