* Dummy extension "yoomedia" added for Yoo! Media's API (Interface 2.0 supported)
[mailer.git] / inc / modules / chk_login.php
index 745fc31efd231e5b5c6ee861a8065265c8c17185..6ab20c0266fdff0b22fbfcca8eac3eac13e70913 100644 (file)
@@ -50,7 +50,7 @@ if (!empty($GLOBALS['userid']) && (isSessionVariableSet('u_hash')) && (isSession
        SQL_FREERESULT($result);
 
        // Change to new theme
-       set_session("mxchange_theme", $NewTheme, (time() + 60*60*24*365), COOKIE_PATH);
+       set_session("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'] == 'N') && ($_CONFIG['bonus_login_yn'] == 'Y')) {