]> git.mxchange.org Git - friendica.git/blobdiff - include/dba.php
We don't need to look $is_int there
[friendica.git] / 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;