]> git.mxchange.org Git - friendica.git/commitdiff
We don't need to look $is_int there
authorMichael <heluecht@pirati.ca>
Thu, 21 Jun 2018 19:52:28 +0000 (19:52 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 21 Jun 2018 19:52:28 +0000 (19:52 +0000)
include/dba.php

index 17234f02b3ffd2d30a8fc59202fb8b11b69be00c..47471ae952838e1f418c86ab13c276f9ac4de5d5 100644 (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;