X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fchk_login.php;h=64e2f26ce1dfa1ace676eb59ba84bd33fdcd2fe4;hp=33e652776f3221006443bb84d0a6c8214427bccb;hb=7b0f17cd637e388049d2167811e4332cec1e979b;hpb=aea4f2a51ffa6f483056c6ce167c8c6fd8ca6129 diff --git a/inc/modules/chk_login.php b/inc/modules/chk_login.php index 33e652776f..64e2f26ce1 100644 --- a/inc/modules/chk_login.php +++ b/inc/modules/chk_login.php @@ -65,7 +65,7 @@ if (isUserIdSet() && (isSessionVariableSet('u_hash'))) { SQL_FREERESULT($result); // Change to new theme - set_session('mxchange_theme', $data['curr_theme']); + setSession('mxchange_theme', $data['curr_theme']); // Remmeber login failures if available if (GET_EXT_VERSION('sql_patches') >= '0.6.1') { @@ -77,8 +77,8 @@ LIMIT 1", array(getUserId()), __FILE__, __LINE__); // Store it in session - set_session('mxchange_member_failures', $data['login_failures']); - set_session('mxchange_member_last_fail', $data['last_failure']); + setSession('mxchange_member_failures', $data['login_failures']); + setSession('mxchange_member_last_fail', $data['last_failure']); } // END - if // Bonus is not given by default ;-) @@ -100,7 +100,7 @@ LIMIT 1", if (($bonus) && (REQUEST_GET('mode') == 'bonus') && (EXT_IS_ACTIVE('bonus'))) { // Output message with added points $message .= "
- ".sprintf(getMessage('BONUS_LOGIN_BONUS_ADDED'), TRANSLATE_COMMA(getConfig('login_bonus')))." + ".sprintf(getMessage('BONUS_LOGIN_BONUS_ADDED'), translateComma(getConfig('login_bonus')))."
"; } elseif (EXT_IS_ACTIVE('bonus')) { // No login bonus added!