Fix for non-working admin login if no extension is installed (an other fixed broke it)
[mailer.git] / inc / mysql-manager.php
index 504e0eb..4f2c89c 100644 (file)
@@ -912,7 +912,7 @@ function GET_ACTION ($MODE, &$wht) {
 
                // Free memory
                SQL_FREERESULT($result);
-       } elseif (GET_EXT_VERSION("sql_patches") == "") {
+       } elseif ((GET_EXT_VERSION("sql_patches") == "") && ($MODE != "admin")) {
                // No sql_patches installed!
                LOAD_URL("admin.php");
        }