]> git.mxchange.org Git - friendica.git/blobdiff - include/dbm.php
Merge pull request #3096 from annando/1701-index-again
[friendica.git] / include / dbm.php
index 72d309b22ef16c940e0d41ca3963dc501a245cf1..6098dce739feec494587391382643249e39d4b4c 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);
        }
 }