From ec24630acdbfa90646b84b019dcdc5e13fc1a588 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 11 Oct 2014 14:30:25 -0400 Subject: [PATCH 1/1] Fix something found by perl -c from the previous commit. Signed-off-by: Jason Stephenson --- lib/NCIP/ILS/Evergreen.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index f13d75d..9e951a6 100644 --- a/lib/NCIP/ILS/Evergreen.pm +++ b/lib/NCIP/ILS/Evergreen.pm @@ -1906,7 +1906,7 @@ sub find_copy_details_by_item { ($item) = sort {$a->id() <=> $b->id()} @{$copies}; } - if (ref(item) eq 'Fieldmapper::asset::copy') { + if (ref($item) eq 'Fieldmapper::asset::copy') { $details = $self->retrieve_copy_details_by_barcode($item->barcode()); } -- 2.43.2