Bugzilla – Attachment 119308 Details for
Bug 15986
Add a script for sending hold waiting reminder notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15986: (follow-up) Use inbound_email_address for library
Bug-15986-follow-up-Use-inboundemailaddress-for-li.patch (text/plain), 1021 bytes, created by
Nick Clemens (kidclamp)
on 2021-04-07 15:02:04 UTC
(
hide
)
Description:
Bug 15986: (follow-up) Use inbound_email_address for library
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-04-07 15:02:04 UTC
Size:
1021 bytes
patch
obsolete
>From 0fae5ef3ebb711b517dd1298c9020d3806c36f11 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 7 Apr 2021 15:01:29 +0000 >Subject: [PATCH] Bug 15986: (follow-up) Use inbound_email_address for library > >--- > Koha/Patron.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index 8835b8fc50..44a5c2ba2d 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1820,8 +1820,8 @@ sub queue_notice { > return unless $letter_params; > return unless exists $params->{message_name} xor $params->{message_transports}; # We only want one of these > >- my $library = Koha::Libraries->find( $letter_params->{branchcode} )->unblessed; >- my $admin_email_address = $library->{branchemail} || C4::Context->preference('KohaAdminEmailAddress'); >+ my $library = Koha::Libraries->find( $letter_params->{branchcode} ); >+ my $admin_email_address = $library->inbound_email_address; > > my @message_transports; > my $letter_code; >-- >2.11.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 15986
:
53323
|
53354
|
53594
|
55723
|
91767
|
91768
|
99919
|
102723
|
102926
|
106962
|
106963
|
106964
|
112999
|
113000
|
113001
|
118733
|
118734
|
118735
|
118736
|
118737
|
119277
| 119308 |
119327
|
119328
|
119329
|
119383
|
119384
|
119386
|
119624
|
119725
|
119748
|
120224