[Koha-bugs] [Bug 28514] C4::Letters::getletter must be rewritten

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 17 10:37:56 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28514

--- Comment #16 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Marcel de Rooy from comment #10)
> Koha::Patron
> general routine
> not nice
> 
> sub queue_notice {
>     my ( $self, $params ) = @_;
>     my $letter_params = $params->{letter_params};
>     my $test_mode = $params->{test_mode};
> 
>     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} );
>     my $admin_email_address = $library->inbound_email_address;

Good catch, that's in incorrect usage I agree.. inbound_email_address was
certainly designed to be used as the reply-to and not the from.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list