Bug 19496: ReplytoDefault is a pref, not a C4::Context method

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-12-07 10:52:28 -03:00
parent d5292616ac
commit 2d10327e98

View file

@ -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({