From: Roland Häder Date: Mon, 29 Sep 2008 23:04:44 +0000 (+0000) Subject: Some glitches fixed... ;) X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=b1b4bcfd12a195196b5f1e301338dea6cc0de66b Some glitches fixed... ;) --- diff --git a/inc/databases.php b/inc/databases.php index 94369d9c62..e812ac9b8f 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "415"); +define('CURR_SVN_REVISION', "416"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/guest/what-login.php b/inc/modules/guest/what-login.php index ad2c106e3a..7a147e018f 100644 --- a/inc/modules/guest/what-login.php +++ b/inc/modules/guest/what-login.php @@ -170,18 +170,18 @@ if (IS_MEMBER()) { // Procedure to checking for login data if (($BONUS) && (EXT_IS_ACTIVE("bonus"))) { // Bonus added (just displaying!) - $URL = URL."/modules.php?module=chk_login&mode=bonus"; + $URL = URL."/modules.php?module=chk_login&mode=bonus"; } else { // Bonus not added - $URL = URL."/modules.php?module=chk_login&mode=login"; + $URL = URL."/modules.php?module=chk_login&mode=login"; } } else { // Cannot update counter! - $URL = URL."/modules.php?module=".$GLOBALS['module']."&what=login&login=".CODE_CNTR_FAILED; + $URL = URL."/modules.php?module=index&what=login&login=".CODE_CNTR_FAILED; } } else { // Cookies not setable! - $URL = URL."/modules.php?module=".$GLOBALS['module']."&what=login&login=".CODE_NO_COOKIES; + $URL = URL."/modules.php?module=index&what=login&login=".CODE_NO_COOKIES; } } else { // Update failture counter @@ -219,7 +219,7 @@ if (IS_MEMBER()) { } // Construct URL - $URL = URL."/modules.php?module=".$GLOBALS['module']."&what=login&login=".$ERROR; + $URL = URL."/modules.php?module=index&what=login&login=".$ERROR; } } elseif ((!empty($_POST['new_pass'])) && (isset($uid))) { // Compile email when found in address (only secure chars!) @@ -267,7 +267,7 @@ if (IS_MEMBER()) { } // Load URL - LOAD_URL("modules.php?module=".$GLOBALS['module']."&what=login&login=".$MSG); + LOAD_URL("modules.php?module=index&what=login&login=".$MSG); } } else { // ID or email is wrong diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 186b1d43e1..3b795a314b 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -629,6 +629,7 @@ function IS_MEMBER() } else { // Cookie data is invalid! //* DEBUG: */ echo __LINE__."***
"; + destroy_user_session(); // Reset userid $GLOBALS['userid'] = 0;