More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / admin / what-unlock_surfbar_urls.php
index 6dc57d0511b19b9409ae6d9812ec25bb666643b3..0eb908dd5dbf734b501e6ca6f5017c6a81218abe 100644 (file)
@@ -80,7 +80,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)) {