]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_sponsor.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_sponsor.php
index ff5e1b1e88598cc62419fed4f55a75d361e3cc45..58b2243640c5f597d2de71bbdd7386ec9aa9c1ec 100644 (file)
@@ -16,7 +16,7 @@
  * $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 *
@@ -120,7 +120,7 @@ ORDER BY
        `id` ASC",
                array(bigintval(getRequestElement('refid'))), __FILE__, __LINE__);
 
-               if (!ifSqlHasZeroNums($result)) {
+               if (!ifSqlHasZeroNumRows($result)) {
                        // List refs now
                        // Free memory
                        sqlFreeResult($result);
@@ -146,7 +146,7 @@ FROM
 ORDER BY
        `id` ASC", __FILE__, __LINE__);
 
-       if (!ifSqlHasZeroNums($result_main)) {
+       if (!ifSqlHasZeroNumRows($result_main)) {
                // At least one sponsor found
                $OUT = '';
                while ($content = sqlFetchArray($result_main)) {