Do for renewitem what was done for checkoutitem in previous commit.
authorJason Stephenson <jason@sigio.com>
Sat, 11 Oct 2014 20:32:37 +0000 (16:32 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 11 Oct 2014 20:32:37 +0000 (16:32 -0400)
Signed-off-by: Jason Stephenson <jason@sigio.com>

lib/NCIP/ILS/Evergreen.pm

index 01f1ea4..886ba9a 100644 (file)
@@ -635,7 +635,7 @@ sub renewitem {
     # user is not allowed to renew this item, without getting into
     # details.
     my $params = {
-        copy => $copy,
+        copy_id => $copy->id(),
         patron_id => $user->id(),
         sip_renewal => 1
     };