Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_coupon.php
index aee069dce0be8508315cb73d8d8a1247b646d3cd..4d503c8640a575286bb5ab67b774b909bb6eb38f 100644 (file)
@@ -70,7 +70,7 @@ ORDER BY
                ), __FILE__, __LINE__);
 
        // Are there entries?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Init variable
                $OUT = '';
 
@@ -110,7 +110,7 @@ ORDER BY
        `d`.`id` ASC', __FILE__, __LINE__);
 
        // Are there entries?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Init variable
                $OUT = '';