]> git.mxchange.org Git - mailer.git/blobdiff - modules.php
More usage of EL
[mailer.git] / modules.php
index 5dcf9f06cf57dc65778c118b2fa20462f340a609..446ffe9cd360f67285f0ccf7e273599ca3ade983 100644 (file)
@@ -98,6 +98,9 @@ if ((isExtensionActive('maintenance')) && (getConfig('maintenance') == 'Y') && (
 
                                // Module not found!
                                addFatalMessage(__FILE__, __LINE__, getMaskedMessage('MODULE_REGISTRY_404', getModule()));
+
+                               // Set module to error module (non-existent!)
+                               setModule('error');
                        }
                        break;