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:
Kyle Hall 2024-04-26 14:41:42 -04:00 committed by Fridolin Somers
parent 2df2fbc309
commit f63dbed44a

View file

@ -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 {