X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fdbm.php;h=6098dce739feec494587391382643249e39d4b4c;hb=467cdfeb3402347a454082d79e9075f23eefee83;hp=72d309b22ef16c940e0d41ca3963dc501a245cf1;hpb=4d959f2f9d85ee87a9823974c5f786464b9e16c4;p=friendica.git diff --git a/include/dbm.php b/include/dbm.php index 72d309b22e..6098dce739 100644 --- a/include/dbm.php +++ b/include/dbm.php @@ -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); } }