Bug 35582: Supress possible warning
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 615c7c5eaf
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
2df2fbc309
commit
f63dbed44a
1 changed files with 1 additions and 2 deletions
|
@ -229,8 +229,7 @@ sub getLanguages {
|
|||
$language_subtag_registry->{iso639_2_code} = $language_descriptions->{iso639_2_code};
|
||||
# fill in the current selected ui language's translation, as well as the native description of the language
|
||||
if ($native_description) {
|
||||
$language_subtag_registry->{language_description} = $language_descriptions->{description}
|
||||
if $language_descriptions->{description};
|
||||
$language_subtag_registry->{language_description} = $language_descriptions->{description} || q{};
|
||||
$language_subtag_registry->{language_description} .= " ($native_description)";
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue