More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / member / what-reflist.php
index d4b3e97f5e450ded54fe9d46a9c01706b612535a..cc34322a0320c6aa8e00632a17d3b4f01260af2a 100644 (file)
@@ -59,7 +59,7 @@ ORDER BY
        `level` ASC', __FILE__, __LINE__);
 
 // Are there some entries? (Shall be!)
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // List all levels
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {