From: Jason Stephenson Date: Sat, 11 Oct 2014 18:30:25 +0000 (-0400) Subject: Fix something found by perl -c from the previous commit. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ec24630acdbfa90646b84b019dcdc5e13fc1a588;p=working%2FNCIPServer.git Fix something found by perl -c from the previous commit. Signed-off-by: Jason Stephenson --- 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()); }