X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fmaintenance_functions.php;h=e9110d9abba7673dacc9e3087e63a795b4b12fa0;hb=150ed402878985508f10f4e06d25831e0fb3a1f8;hp=2d427c38d2291158ad58bf084388a1bb358d88ec;hpb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;p=mailer.git diff --git a/inc/libs/maintenance_functions.php b/inc/libs/maintenance_functions.php index 2d427c38d2..e9110d9abb 100644 --- a/inc/libs/maintenance_functions.php +++ b/inc/libs/maintenance_functions.php @@ -61,7 +61,7 @@ function isMaintenanceEnabled () { // Is the cache entry set if (!isset($GLOBALS[__FUNCTION__])) { // No, so determine it - $GLOBALS[__FUNCTION__] = (getMaintenance() == 'Y'); + $GLOBALS[__FUNCTION__] = ((isConfigEntrySet('maintenance')) && (getMaintenance() == 'Y')); } // END - if // Return cache