Alter check_circ_details call in NCIP::ILS::Evergreen->renewitem.
authorJason Stephenson <jstephenson@mvlc.org>
Fri, 9 Oct 2015 18:48:20 +0000 (14:48 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Mon, 19 Oct 2015 20:14:40 +0000 (16:14 -0400)
This call to $self->check_circ_details() needs to use the new signature
when handling a renewitem message.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

lib/NCIP/ILS/Evergreen.pm

index d134024..258d6b8 100644 (file)
@@ -560,7 +560,7 @@ sub renewitem {
     # the patron was provided, that it is checked out to the patron in
     # question. We also verify the copy ownership and circulation
     # location.
-    my $problem = $self->check_circ_details($circ, $copy, $user);
+    my $problem = $self->check_circ_details($details, $user);
     if ($problem) {
         # We need to fill in some information, however.
         if (!$problem->ProblemValue() && !$problem->ProblemElement()) {