Bug 23463: Replace ModItem with Koha::Item->store
[koha-equinox.git] / offline_circ / process_koc.pl
index aacfeda..935440b 100755 (executable)
@@ -339,7 +339,7 @@ sub kocReturnItem {
             $patron->privacy
         );
 
-        ModItem({ onloan => undef }, $biblio->biblionumber, $item->itemnumber);
+        $item->onloadn(undef)->store;
         ModDateLastSeen( $item->itemnumber );
 
         push @output,