]> git.mxchange.org Git - friendica.git/blobdiff - include/dbm.php
Merge remote-tracking branch 'upstream/develop' into 1610-performance
[friendica.git] / include / dbm.php
index 72d309b22ef16c940e0d41ca3963dc501a245cf1..812989072b7232aacd7d5e0d10f0dd444ca25ef3 100644 (file)
@@ -43,6 +43,10 @@ class dbm {
         * @return      Whether $array is a filled array
         */
        public static function is_result($array) {
+               // It could be a return value from an update statement
+               if (is_bool($array))
+                       return $array;
+
                return (is_array($array) && count($array) > 0);
        }
 }