From e390f7447ef727642c620ed2e04be3e4e5a8b307 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 --- C4/Languages.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/Languages.pm b/C4/Languages.pm index 21c4ce4e6f4..079737da8cf 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.30.2