]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/surfbar_functions.php
Fixes for various bugs (e.g.: 'secret file could not be read', SQL error and more)
[mailer.git] / inc / libs / surfbar_functions.php
index 0f6bf029a8664c4a1ecdb68025ebac117d01be75..3acbc7c4d978aa2b610d114a83af3e2f97c8d7f8 100644 (file)
@@ -2001,7 +2001,7 @@ function isSurfbarAutoStartEnabled () {
        // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
-               $GLOBALS[__FUNCTION__] = (getSurfbarAutoStart() == 'Y');
+               $GLOBALS[__FUNCTION__] = ((isConfigEntry('surfbar_auto_start')) && (getSurfbarAutoStart() == 'Y'));
        } // END - if
 
        // Return cache