Bugzilla – Attachment 63210 Details for
Bug 17762
Ability to translate notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17762 (QA Followup) Use default lang if pref disabled
Bug-17762-QA-Followup-Use-default-lang-if-pref-dis.patch (text/plain), 821 bytes, created by
Nick Clemens
on 2017-05-05 20:22:19 UTC
(
hide
)
Description:
Bug 17762 (QA Followup) Use default lang if pref disabled
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2017-05-05 20:22:19 UTC
Size:
821 bytes
patch
obsolete
>From 53b389d41d2cb59efa7afaa500e7823918cb0c70 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 5 May 2017 16:09:13 -0400 >Subject: [PATCH] Bug 17762 (QA Followup) Use default lang if pref disabled > >--- > C4/Letters.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 9a5afb2..c413bda 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -200,7 +200,8 @@ sub GetLettersAvailableForALibrary { > sub getletter { > my ( $module, $code, $branchcode, $message_transport_type, $lang) = @_; > $message_transport_type //= '%'; >- $lang //= 'default'; >+ $lang = 'default' unless( $lang && C4::Context->preference('TranslateNotices') ); >+ > > if ( C4::Context->preference('IndependentBranches') > and $branchcode >-- >2.1.4
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 17762
:
58133
|
58134
|
58135
|
58136
|
58137
|
58138
|
58139
|
58140
|
58141
|
58525
|
59452
|
59453
|
59454
|
59455
|
59456
|
59457
|
59458
|
59459
|
59460
|
59461
|
61614
|
61615
|
61616
|
61617
|
61618
|
61619
|
61620
|
61621
|
61622
|
61623
|
61624
|
63199
|
63200
|
63201
|
63202
|
63203
|
63204
|
63205
|
63206
|
63207
|
63208
|
63209
| 63210 |
63211