Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / filter / earning_filter.php
index 0ed6f68..a658857 100644 (file)
@@ -77,7 +77,7 @@ ORDER BY
                ), __FUNCTION__, __LINE__);
 
        // Are there entries left?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Load all names
                while ($content = sqlFetchArray($result)) {
                        // Merge the $filterData array in