[Koha-bugs] [Bug 5544] All Notices from Branch Email Address
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 12 15:14:25 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5544
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at biblibre.co
| |m
--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
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.
More information about the Koha-bugs
mailing list