Bugzilla – Attachment 165474 Details for
Bug 33237
If TranslateNotices is off, use the default language includes in slips
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33237: (follow-up) Tidy
Bug-33237-follow-up-Tidy.patch (text/plain), 1.07 KB, created by
Martin Renvoize (ashimema)
on 2024-04-24 15:45:15 UTC
(
hide
)
Description:
Bug 33237: (follow-up) Tidy
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-04-24 15:45:15 UTC
Size:
1.07 KB
patch
obsolete
>From 669d214913c1c902f54f89534925cfbdfe9e903b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 26 Mar 2024 17:54:19 +0000 >Subject: [PATCH] Bug 33237: (follow-up) Tidy > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33237
:
148281
|
148785
|
163952
|
163953
|
164521
|
165382
|
165383
|
165384
|
165404
|
165405
|
165406
|
165455
|
165456
|
165457
|
165458
|
165459
|
165460
|
165473
| 165474 |
165475
|
165476
|
165477
|
165478
|
165479
|
165480
|
166860