[Koha-bugs] [Bug 28581] Patron's queue_notice uses inbound_email_address incorrectly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 21 10:40:53 CEST 2021


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

--- Comment #28 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Comment on attachment 122139
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122139
Bug 28581: Use 'from_email_address' where appropriate

Review of attachment 122139:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=28581&attachment=122139)
-----------------------------------------------------------------

::: C4/Reserves.pm
@@ +1849,4 @@
>  
>      my $library = Koha::Libraries->find( $hold->branchcode )->unblessed;
>  
> +    my $admin_email_address = $library->from_email_address;

Hum, $library is a hashref here.

#   Failed test 'Set waiting flag'
#   at /kohadevbox/koha/t/db_dependent/Circulation.t line 3475.
 Can't call method "from_email_address" on unblessed reference at
/kohadevbox/koha/C4/Reserves.pm line 1852.

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


More information about the Koha-bugs mailing list