X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=e4bcad187cb98d9505a358ec57139a435f9ef9a2;hb=dff82554761a7fe1a34d3ce2d4922b4b1f3cd6b9;hp=5cc8edd6468507a077f110c208739ebcda4b5226;hpb=55e6ddf528028536b88b1397ef8297655782de69;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 5cc8edd646..e4bcad187c 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -39,12 +39,12 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) } // -function ADD_MODULE_TITLE($mod) -{ +function ADD_MODULE_TITLE($mod) { global $cacheArray, $_CONFIG; $name = ""; $result = false; - // Load title - if (!isBooleanConstantAndTrue('mxchange_installed')) { + + // Is the script installed? + if (isBooleanConstantAndTrue('mxchange_installed')) { if ((GET_EXT_VERSION("cache") >= "0.1.2") && (isset($cacheArray['modules']['module'])) && (is_array($cacheArray['modules']['module'])) && (isset($cacheArray['modules']['module'][$mod]))) { // Load from cache $name = $cacheArray['modules']['title'][$mod];