Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / filter / earning_filter.php
index 0ed6f68969c4dc0823e498431b65d27f63415e43..a658857f59ee9d76152260bac66cbe21f1e932a9 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