More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / admin / what-list_wernis.php
index 418e8c11e5386f1176fcc169e732124ecd7cf8cb..333b9165564bd740520396cf8fce77ab94225930 100644 (file)
@@ -56,7 +56,7 @@ ORDER BY
        __FILE__, __LINE__);
 
 // Are there some entries to display?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // List all entries
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {