Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / mails / bonus_mails.php
index e036bebcffd0626109b56b53ea2efd3b42c318e3..6fb1ef0d1d171748e5a77c97c80d9aed8faafcbc 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Versendet Erinnerungsmails                       *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * 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 *
@@ -89,7 +84,8 @@ if (!empty($sql)) {
 
        // Check for accounts to be notified
        $result_main = sqlQuery($sql, __FILE__, __LINE__);
-       if (!ifSqlHasZeroNums($result_main)) {
+
+       if (!ifSqlHasZeroNumRows($result_main)) {
                // Okay lets notify all users!
                while ($content = sqlFetchArray($result_main)) {
                        // Update account