]> git.mxchange.org Git - friendica.git/blobdiff - include/poller.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / include / poller.php
index 44f4895cdbda1991d9d12d1c0e59dee33b055eab..d00360d2b7414835173767faaa8262417ce1ef87 100644 (file)
@@ -213,7 +213,7 @@ function poller_max_connections_reached() {
        // The processlist only shows entries of the current user
        if ($max != 0) {
                $r = q("SHOW PROCESSLIST");
-               if (!$r)
+               if (!dbm::is_result($r))
                        return false;
 
                $used = count($r);