Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / daily / daily_birthday.php
index 7bfbeab3a85fd82cdfd1c9f9b69e71bf36e8d0df..2b6bcc195215858acb3717086b5d9cacd50dbe58 100644 (file)
@@ -11,7 +11,7 @@
  * Kurzbeschreibung  : Versendet Geburtstagsmails beim Reset            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Kurzbeschreibung  : Versendet Geburtstagsmails beim Reset            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -78,7 +78,7 @@ ORDER BY
        `d`.`userid` ASC",
        array($day, $month), __FILE__, __LINE__);
 
        `d`.`userid` ASC",
        array($day, $month), __FILE__, __LINE__);
 
-if (!ifSqlHasZeroNums($result_birthday)) {
+if (!ifSqlHasZeroNumRows($result_birthday)) {
        // Start sending out birthday mails
        while ($content = sqlFetchArray($result_birthday)) {
                // Calculate own timestamp for birthday and today
        // Start sending out birthday mails
        while ($content = sqlFetchArray($result_birthday)) {
                // Calculate own timestamp for birthday and today