More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / admin / what-list_surfbar_urls.php
index 105a80be10408af072a8072f97309cdce8c5ce46..d8ab24966601ecc66870e0d9ce93aa56fe6aa2ce 100644 (file)
@@ -175,7 +175,7 @@ ORDER BY
        `url_id` ASC", __FILE__, __LINE__);
 
 // Do we have some URLs left?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // List all URLs
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {