Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / fix_user_points.php
index 835d7d785accdb79b1ad04946c036c863a30c2d2..96f15aebcdbc1a6b0fb29a6103388c1e551cafca 100644 (file)
@@ -50,7 +50,7 @@ ORDER BY
        `userid` ASC', __FILE__, __LINE__);
 
 // Are there entries? (there should be!)
-if (!ifSqlHasZeroNums($result)) {
+if (!ifSqlHasZeroNumRows($result)) {
        // Load row by row
        while ($row = sqlFetchArray($result)) {
                // Update the database again