[Koha-bugs] [Bug 24258] Sending partner request doesn't fall back to KohaAdminEmailAddress

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 13:42:33 CET 2023


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
OK, this took a little digging:


* The message is queued using EnqueueLetter
* The $from parameter is passed explicitly here as:

my $from_address = $branch->from_email_address;

* And that has the fallback to KohaAdminEmailAddress:

sub from_email_address {
    my ($self) = @_;

    return
         $self->branchemail
      || C4::Context->preference('KohaAdminEmailAddress')
      || undef;
}

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


More information about the Koha-bugs mailing list