More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / filter-functions.php
index 316bc6c93aa1951efa883d5f26754c25c7e410d8..d0e881ae8cd698d221e5faf3abc38f18174a3996 100644 (file)
@@ -71,7 +71,7 @@ ORDER BY
        `filter_id` ASC", __FUNCTION__, __LINE__);
 
                // Are there entries?
-               if (SQL_NUMROWS($result) > 0) {
+               if (!SQL_HASZERONUMS($result)) {
                        // Load all filters
                        while ($filterArray = SQL_FETCHARRAY($result)) {
                                // Get filter name and function