Updated copyright year.
[mailer.git] / inc / modules / admin / what-list_admins_acls.php
index cbe51d10b818eb6392c3384006a6446d4bcb630d..d0c7b35197eff5830ea6ec39c536049cd5144ff4 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 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -158,7 +158,7 @@ LIMIT 1",
                                        postRequestElement('action_menu'),
                                        postRequestElement('what_menu')
                                ), __FILE__, __LINE__);
-                       if (ifSqlHasZeroNums($result)) {
+                       if (ifSqlHasZeroNumRows($result)) {
                                // Finally add the new ACL
                                sqlQueryEscaped("INSERT INTO `{?_MYSQL_PREFIX?}_admins_acls` (
        `admin_id`,
@@ -214,7 +214,7 @@ ORDER BY
        `id` ASC', __FILE__, __LINE__);
 
        // Entries found?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // List ACLs
                $OUT = '';
                while ($content = sqlFetchArray($result)) {