From 3b95154ce2a1a5609a08bf665ee315098c8874e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 18 Apr 2008 15:16:46 +0000 Subject: [PATCH] Fix for browser title --- inc/mysql-manager.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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]; -- 2.39.5