From aa1a697b127968eaa97e297432f93f7db70482a4 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 2 Mar 2020 15:18:33 +0000 Subject: [PATCH] Bug 4461: Use get_effective_email from bug 22823 Use the get_effective_email from Koha::Library to get an appropriate inbound address for the branch as aposed to using branchemail directly. Signed-off-by: Martin Renvoize --- opac/opac-reportproblem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-reportproblem.pl b/opac/opac-reportproblem.pl index fa6171b..4f5ce5e 100755 --- a/opac/opac-reportproblem.pl +++ b/opac/opac-reportproblem.pl @@ -110,7 +110,7 @@ if ( $op eq 'addreport' ) { letter => $letter, borrowernumber => $borrowernumber, message_transport_type => $transport, - to_address => $library->branchemail, + to_address => $library->get_effective_email, reply_address => $reply_address, }); } -- 2.1.4