From ef558f072f95ed6bfa05fe132da5503f8d402dbd 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 --- C4/Letters.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index a00701f3d2..51ce4311b5 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1673,9 +1673,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