Index: branches/RC/core/kernel/processors/main_processor.php =================================================================== diff -u -r11682 -r11865 --- branches/RC/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 11682) +++ branches/RC/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 11865) @@ -897,7 +897,7 @@ // check by belonging to group: end if ((!$this->Application->LoggedIn() || !$group_access) && $condition) { - $redirect_params = $this->Application->HttpQuery->getRedirectParams(); + $redirect_params = $this->Application->HttpQuery->getRedirectParams(true); $redirect_params['next_template'] = $t; if (array_key_exists('pass_category', $params)) { @@ -908,8 +908,6 @@ $this->Application->Redirect( $params['no_group_perm_template'], $redirect_params); } - $redirect_params['lang_mode'] = ''; // if expiration happens while editing language it will be in temp mode - $redirect_params['m_wid'] = ''; // remove wid, otherwise parent window may add wid to its name breaking all the frameset (for targets) $this->Application->Redirect($params['login_template'], $redirect_params); } }