From f63dbed44ace3c041f7bcec3cc84bc211a5a86f0 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 26 Apr 2024 14:41:42 -0400 Subject: [PATCH] Bug 35582: Supress possible warning Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer (cherry picked from commit 615c7c5eafd207fdb1adc9a07a063ce83da668c0) Signed-off-by: Fridolin Somers --- C4/Languages.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/Languages.pm b/C4/Languages.pm index 21c4ce4e6f..079737da8c 100644 --- a/C4/Languages.pm +++ b/C4/Languages.pm @@ -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 { -- 2.39.5