]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_admins_acls.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_admins_acls.php
index 44d8e94813af6e51b8edcd18d151c097e8a949f3..f9833bcc3a6fd7e96f4b6dee501292d05c65e47a 100644 (file)
@@ -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)) {