]> git.mxchange.org Git - mailer.git/commitdiff
bonus rallye login now no longer payed when bonus rallye is deactivated and login...
authorRoland Häder <roland@mxchange.org>
Mon, 4 Feb 2008 21:40:05 +0000 (21:40 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 4 Feb 2008 21:40:05 +0000 (21:40 +0000)
inc/modules/chk_login.php

index c04d7117a2b24e98b84a49cef26333e461dc289a..d034bc87ba9a34d47349a706d9819444a6b2fe4e 100644 (file)
@@ -55,7 +55,7 @@ if (!empty($GLOBALS['userid']) && !empty($_COOKIE['u_hash']) && !empty($_COOKIE[
        $_COOKIE['mxchange_theme'] = $NewTheme;
 
        $bonus = false;
-       if ((GET_EXT_VERSION("sql_patches") >= "0.2.8") && (GET_EXT_VERSION("bonus") >= "0.2.1") && ($CONFIG['bonus_login_yn'] == 'Y')) {
+       if ((GET_EXT_VERSION("sql_patches") >= "0.2.8") && (GET_EXT_VERSION("bonus") >= "0.2.1") && ($CONFIG['bonus_login_yn'] == 'N') && ($CONFIG['bonus_login_yn'] == 'Y')) {
                // Update last login
                $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data
 SET last_login=UNIX_TIMESTAMP()