Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / libs / holiday_functions.php
index b8d9ebd69a5f620e01dd48c27cfabf7f849de553..ae23b03fc9caf2a672e3dc109fae78df7a159a50 100644 (file)
@@ -54,7 +54,7 @@ WHERE
        `holiday_end` <= UNIX_TIMESTAMP()
 ORDER BY
        `userid` ASC", __FUNCTION__, __LINE__);
-       if (!ifSqlHasZeroNums($result_stop)) {
+       if (!ifSqlHasZeroNumRows($result_stop)) {
                // We foud at least one
                $admin = '';