]> git.mxchange.org Git - mailer.git/blobdiff - inc/load_extensions.php
Cache init fixed
[mailer.git] / inc / load_extensions.php
index e2f44a0faba76513d6821c35fe08de9eb3bb967a..82337575ee6fa11e6853dcb71b8ff1245beefaa1 100644 (file)
@@ -148,7 +148,7 @@ if ($cacheMode == "load")
 {
        // If current user is not admin load only activated extensions
        // The admin shall use every available extension for testing purposes
-       if (!IS_ADMIN()) $ADD = " WHERE ext_active='Y'";
+       if ((!IS_ADMIN()) && ($cacheMode != "init")) $ADD = " WHERE ext_active='Y'";
 
        if (GET_EXT_VERSION("sql_patches") >= "0.0.6")
        {