From 2d10327e987c9ced850ad5d885370cc9e1e61c34 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 7 Dec 2017 10:52:28 -0300 Subject: [PATCH] Bug 19496: ReplytoDefault is a pref, not a C4::Context method Signed-off-by: Jonathan Druart --- opac/svc/patron_notes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/svc/patron_notes b/opac/svc/patron_notes index a8ab7b10ff..5cd9f0a7f6 100755 --- a/opac/svc/patron_notes +++ b/opac/svc/patron_notes @@ -90,7 +90,7 @@ if ($is_ajax) { }, ); - my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->ReplytoDefault || C4::Context->preference('KohaAdminEmailAddress'); + my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->preference('ReplytoDefault') || C4::Context->preference('KohaAdminEmailAddress'); my $from_address = $patron->email || $patron->emailpro || $patron->B_email; C4::Letters::EnqueueLetter({