Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_coupon.php
index 3360fd83f9fa1cb3b683f76bd874e511179515e8..4d503c8640a575286bb5ab67b774b909bb6eb38f 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * $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 *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -70,7 +70,7 @@ ORDER BY
                ), __FILE__, __LINE__);
 
        // Are there entries?
                ), __FILE__, __LINE__);
 
        // Are there entries?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Init variable
                $OUT = '';
 
                // Init variable
                $OUT = '';
 
@@ -110,7 +110,7 @@ ORDER BY
        `d`.`id` ASC', __FILE__, __LINE__);
 
        // Are there entries?
        `d`.`id` ASC', __FILE__, __LINE__);
 
        // Are there entries?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Init variable
                $OUT = '';
 
                // Init variable
                $OUT = '';