]> git.mxchange.org Git - mailer.git/blobdiff - index.php
Fixes for the fix
[mailer.git] / index.php
index e9a77ff4f382ba65322d713a7c9ab3a51442fe1b..486b6321d53307e470f689040466f73118157cba 100644 (file)
--- a/index.php
+++ b/index.php
@@ -63,7 +63,7 @@ if (!isConfigEntrySet('index_delay'))  setConfigEntry('index_delay' , 0);
 if (!isConfigEntrySet('index_cookie')) setConfigEntry('index_cookie', 0);
 
 // Check for cookies
-if ((isSessionVariableSet('visited')) || (getConfig('index_delay') == 0) || (getConfig('index_cookie') == 0)) {
+if ((isSessionVariableSet('visited')) || (getConfig('index_delay') == '0')) {
        // Is the index page configured for redirect pr not?
        if (getConfig('index_cookie') > 0) {
                // Set cookie and remeber it for specified time