More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / reset / reset_holiday.php
index 6e7116e..e19ca6d 100644 (file)
@@ -62,7 +62,7 @@ ORDER BY
 __FILE__, __LINE__);
 
 // Entries found?
-if (SQL_NUMROWS($result_main) > 0) {
+if (!SQL_HASZERONUMS($result_main)) {
        // Init SQLs
        initSqls();