]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Prefix in SQLs fixed, fixes for first startup and weekly/monthly reset is run without...
[mailer.git] / inc / mysql-manager.php
index 8367de207ee120c3e045c1f588aa32abefb2c7b1..e2bfccdb25d23b575ad9ae236a7feaa70c69a056 100644 (file)
@@ -114,6 +114,12 @@ function checkModulePermissions ($mod) {
 
        // Check if cache is latest version
        if (GET_EXT_VERSION("cache") >= "0.1.2") {
+               // Is the cache there?
+               if (!isset($GLOBALS['cache_array']['modules'])) {
+                       // This should normally not happen...
+                       debug_report_bug("Cache 'modules' is gone.");
+               } // END - if
+
                // Is the module cached?
                if (isset($GLOBALS['cache_array']['modules']['locked'][$mod_chk])) {
                        // Check cache