]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-active.php
More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / guest / what-active.php
index 17e4d337976e17f695a58345c38f4ea852cf9d7c..7e017196db325b43b2f6db6be0ef7b31cb47c340 100644 (file)
@@ -68,7 +68,7 @@ ORDER BY
 LIMIT {?active_limit?}", __FILE__, __LINE__);
 
 // Entries found?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // At least one member was online so let's load them all
        $OUT = '';
        while (list($userid, $nick, $last) = SQL_FETCHROW($result)) {