Added ability to allow empty passwords, if the user does so, a random password will...
[mailer.git] / inc / reset / reset_birthday.php
index 2586efbecae11f653bc48e3a35bf010f7897d2a9..dc3f70660a635dd05f8aa3822855f840e6cf6b8e 100644 (file)
@@ -71,7 +71,7 @@ ORDER BY
        `userid` ASC",
        array($day, $month, $value), __FILE__, __LINE__);
 
-if (SQL_NUMROWS($result_birthday) > 0) {
+if (!SQL_HASZERONUMS($result_birthday)) {
        // Start sending out birthday mails
        while ($content = SQL_FETCHARRAY($result_birthday)) {
                // Calculate own timestamp for birthday and today