Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-payments.php
index e24ac45321c2759c8bc200484b2d8910b4a312ca..4dc746ee8a953ceaf6ce7d43f8ef7bdf7daece9d 100644 (file)
@@ -183,7 +183,8 @@ FROM
        `{?_MYSQL_PREFIX?}_payments`
 ORDER BY
        `time` ASC", __FILE__, __LINE__);
-       if (!ifSqlHasZeroNums($result)) {
+
+       if (!ifSqlHasZeroNumRows($result)) {
                // Make referral levels editable and deletable
                $OUT = '';