Bugzilla – Attachment 64802 Details for
Bug 12532
Copy guarantee email to guarantor (or redirect if guarantee has no email set)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12532 - Changed occurrences to EnableRedirectGuaranteeEmail for RedirectGuaranteeEmail
Bug-12532---Changed-occurrences-to-EnableRedirectG.patch (text/plain), 1.65 KB, created by
Philippe Audet-Fortin
on 2017-07-05 15:26:22 UTC
(
hide
)
Description:
Bug 12532 - Changed occurrences to EnableRedirectGuaranteeEmail for RedirectGuaranteeEmail
Filename:
MIME Type:
Creator:
Philippe Audet-Fortin
Created:
2017-07-05 15:26:22 UTC
Size:
1.65 KB
patch
obsolete
>From 5fd8ba30ab60322cacace9409207195c49f66400 Mon Sep 17 00:00:00 2001 >From: Paudet <philippe.audet-fortin@inlibro.com> >Date: Wed, 5 Jul 2017 11:18:04 -0400 >Subject: [PATCH] Bug 12532 - Changed occurrences to > EnableRedirectGuaranteeEmail for RedirectGuaranteeEmail > >Both were used for the same reason and EnableRedirectGuaranteeEmail doesn't existe in systempreferences table. >--- > C4/Letters.pm | 2 +- > C4/Members.pm | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index e552b89..5ebaeb4 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -1303,7 +1303,7 @@ sub _send_message_by_email { > my ($username, $password, $method) = @_; > > my $member = C4::Members::GetMember( 'borrowernumber' => $message->{'borrowernumber'} ); >- my $useGurantor = $member && $member->{'guarantorid'} && C4::Context->preference("EnableRedirectGuaranteeEmail"); >+ my $useGurantor = $member && $member->{'guarantorid'} && C4::Context->preference("RedirectGuaranteeEmail"); > my $to_address = $message->{'to_address'}; > if ($useGurantor || !$to_address) { > unless ($member) { >diff --git a/C4/Members.pm b/C4/Members.pm >index 995b8f3..81c55ab 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -1011,7 +1011,7 @@ sub GetNoticeEmailAddress { > > # Determine who we send the email to. > my $guarantorid = $member->{'guarantorid'}; >- my $useGuarantor = $guarantorid && C4::Context->preference("EnableRedirectGuaranteeEmail"); >+ my $useGuarantor = $guarantorid && C4::Context->preference("RedirectGuaranteeEmail"); > > my $guarantor = C4::Members::GetMember( 'borrowernumber' => $guarantorid ) if $useGuarantor; > >-- >1.9.1
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 12532
:
29510
|
30747
|
35313
|
36752
|
39787
|
39925
|
48645
|
53649
|
53689
|
53690
|
53699
|
53700
|
55985
|
56052
|
56053
|
59445
|
59446
|
59447
|
63197
|
64802
|
64824
|
67115
|
68340
|
70865
|
72064
|
72617
|
75099
|
77606
|
80313
|
85134
|
85135
|
87815
|
87816
|
88208
|
88209
|
88210
|
88211
|
88212
|
88213
|
88295
|
88296
|
114455
|
114456
|
114457
|
114458
|
114459
|
114460
|
114461
|
131091
|
131092
|
131093
|
131094
|
149233
|
150071
|
150208
|
150217
|
150240
|
150256
|
151028
|
151029
|
154854
|
154855
|
154856
|
154857
|
155036
|
155037
|
155828
|
155829
|
155830
|
155831
|
155832
|
155833
|
155834
|
155835
|
155836
|
155837
|
155873
|
155874
|
155875
|
155876
|
155877
|
155878
|
155879
|
155880
|
155881
|
155882
|
155883
|
155886
|
155934
|
155935
|
155936
|
155937
|
155938
|
155939
|
155940
|
155941
|
155942
|
155943
|
155944
|
155945
|
155946