From 82b1cb647a048220f0c31dea8261667c62755a86 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 26 Mar 2024 17:54:19 +0000 Subject: [PATCH] Bug 33237: (follow-up) Tidy Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit ef558f072f95ed6bfa05fe132da5503f8d402dbd) Signed-off-by: Fridolin Somers --- C4/Letters.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index b5893c8d14..237f05916f 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1671,9 +1671,9 @@ sub _process_tt { my $substitute = $params->{substitute} || {}; my $lang = 'en'; my $interface = C4::Context->interface; - if(defined($params->{lang}) && $params->{lang} ne 'default'){ + if ( defined( $params->{lang} ) && $params->{lang} ne 'default' ) { $lang = $params->{lang}; - } elsif($interface eq 'intranet' || $interface eq 'opac') { + } elsif ( $interface eq 'intranet' || $interface eq 'opac' ) { #use interface language $lang = C4::Languages::getlanguage(); } else { -- 2.39.5