More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / admin / what-list_bonus.php
index 2cf00c09d67cb2b18043382bd49490bcc9aaf433..d3b45396ac5fc56d4a4d1a718c48a1f9e7f685e5 100644 (file)
@@ -91,7 +91,7 @@ ORDER BY
        `userid` ASC",
                array($ONLINE), __FILE__, __LINE__);
 
-       if (SQL_NUMROWS($result) > 0) {
+       if (!SQL_HASZERONUMS($result)) {
                // List users
                $OUT = ''; $cnt = 1; $total = '0';
                while ($content = SQL_FETCHARRAY($result)) {