Bug 28581: (QA follow-up) Fix method on unblessed reference

Speaks for itself.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2021-06-21 08:47:59 +00:00 committed by Kyle M Hall
parent b14f042e6e
commit 7b00a5ce88
1 changed files with 2 additions and 2 deletions

View File

@ -1847,9 +1847,9 @@ sub _koha_notify_reserve {
message_name => 'Hold_Filled'
} );
my $library = Koha::Libraries->find( $hold->branchcode )->unblessed;
my $library = Koha::Libraries->find( $hold->branchcode );
my $admin_email_address = $library->from_email_address;
$library = $library->unblessed;
my %letter_params = (
module => 'reserves',