Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-adminedit.php
index 1042be5cff6f3072d22a9953316bee24335b7fd6..715c31c67ca1be0091c45d1336514c2c1a05c11c 100644 (file)
@@ -197,7 +197,7 @@ LIMIT 1",
        $result = sqlQuery("SELECT `id`, `action`, `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." ORDER BY `sort` ASC", __FILE__, __LINE__);
 
        // Are there entries?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Init variables
                $OUT = '';
                $count = '0';