Fix something found by perl -c from the previous commit.
authorJason Stephenson <jason@sigio.com>
Sat, 11 Oct 2014 18:30:25 +0000 (14:30 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 11 Oct 2014 18:30:25 +0000 (14:30 -0400)
Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/ILS/Evergreen.pm

index f13d75d..9e951a6 100644 (file)
@@ -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());
     }