Skip to content

Commit

Permalink
Fix auto language regression in View Issue Details page
Browse files Browse the repository at this point in the history
Fixes #26470
  • Loading branch information
atrol committed Dec 20, 2019
1 parent 2629684 commit 0ebb36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/soap/mc_api.php
Expand Up @@ -706,7 +706,7 @@ function mci_related_issue_as_array_by_id( $p_issue_id ) {
function mci_get_user_lang( $p_user_id ) {
$t_lang = user_pref_get_pref( $p_user_id, 'language' );
if( $t_lang == 'auto' ) {
$t_lang = config_get_global( 'fallback_language' );
$t_lang = lang_map_auto();
}
return $t_lang;
}
Expand Down

0 comments on commit 0ebb36f

Please sign in to comment.