From: Roland Häder Date: Mon, 4 Feb 2008 21:40:05 +0000 (+0000) Subject: bonus rallye login now no longer payed when bonus rallye is deactivated and login... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=79fab9206a9c2c7fc989396a797e2f7d78fa99b6;p=mailer.git bonus rallye login now no longer payed when bonus rallye is deactivated and login bonus both together --- diff --git a/inc/modules/chk_login.php b/inc/modules/chk_login.php index c04d7117a2..d034bc87ba 100644 --- a/inc/modules/chk_login.php +++ b/inc/modules/chk_login.php @@ -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()