Even more fixes #2
[mailer.git] / inc / functions.php
index 7ed051a28a3d75725f660c2ee592038d659e00d6..9e3240ea54feb9c9ae6009f5765e6b80727da1ef 100644 (file)
@@ -3581,7 +3581,7 @@ function determinePageTitle () {
                $pageTitle = $TITLE;
        } elseif ((isInstalled()) && (isAdminRegistered())) {
                // Installed, admin registered but no ext-sql_patches
-               $pageTitle = '[-- ' . getConfig('MAIN_TITLE').' - '.getModuleTitle(getModule()) . ' --]';
+               $pageTitle = '[-- ' . getConfig('MAIN_TITLE') . ' - ' . getModuleTitle(getModule()) . ' --]';
        } elseif ((isInstalled()) && (!isAdminRegistered())) {
                // Installed but no admin registered
                $pageTitle = sprintf(getMessage('SETUP_OF_MXCHANGE'), getConfig('MAIN_TITLE'));
@@ -3597,7 +3597,7 @@ function determinePageTitle () {
        }
 
        // Return title
-       return $pageTitle;
+       return decodeEntities($pageTitle);
 }
 
 // Checks wethere there is a cache file there. This function is cached.