http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5544 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #2 from Jonathan Druart <jonathan.druart@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.