]> git.mxchange.org Git - mailer.git/commitdiff
Fix for browser title
authorRoland Häder <roland@mxchange.org>
Fri, 18 Apr 2008 15:16:46 +0000 (15:16 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 18 Apr 2008 15:16:46 +0000 (15:16 +0000)
inc/mysql-manager.php

index 5cc8edd6468507a077f110c208739ebcda4b5226..e4bcad187cb98d9505a358ec57139a435f9ef9a2 100644 (file)
@@ -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;
        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];
                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];