]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
SQL_FETCHROW()->SQL_FETCHARRAY() and other improvements
[mailer.git] / inc / mysql-manager.php
index bbdcca05698b6076788dc5eff690843f5dda1b09..3ec60ca2d5eed0b01d4c1a9e28966c75cc655ec1 100644 (file)
@@ -703,7 +703,7 @@ function fetchUserData ($userid, $column = 'userid') {
 // This patched function will reduce many SELECT queries for the specified or current admin login
 function isAdmin ($adminLogin = '') {
        // No admin in installation phase!
-       if (isInstallationPhase()) {
+       if ((isInstallationPhase()) || (!isAdminRegistered())) {
                return false;
        } // END - if