]> git.mxchange.org Git - friendica.git/blobdiff - include/poller.php
Continued with code convention:
[friendica.git] / include / poller.php
index a6671f5ae39c26618e35c8d9f333396c45aee432..b631d2acd15637dad371c7cb122be456d45e22bf 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);