http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5544

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #2 from Jonathan Druart <[email protected]> ---
QA Comment:

I think you can rewrite

+    my $branch = GetBranchDetail( $member->{'branchcode'} );
+        From => $message->{'from_address'} || $branch->{'branchemail'} ||
C4::Context->preference('KohaAdminEmailAddress'),

With:
    From => $message->{'from_address'} || GetBranchDetail(
$member->{'branchcode'} )->{'branchemail'} ||
C4::Context->preference('KohaAdminEmailAddress'),

In order to bypassed an useless call (GetBranchDetail) in some cases
($message->{from_address} not defined).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to