From 669d214913c1c902f54f89534925cfbdfe9e903b 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 --- C4/Letters.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index a00701f3d25..51ce4311b55 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.44.0