From 5e1fd6218c8c3ac991d7a04f1c0b6169b8b7743c Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Thu, 3 Jan 2019 10:05:37 +0000 Subject: [PATCH] Bug 22049: (QA follow-up) update MarkIssueReturned call in process_koc.pl Test plan: Try to upload koc file with some returns Success: the file should be correctly processed Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- C4/Circulation.pm | 3 ++- offline_circ/process_koc.pl | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index cd9bced067..fa082104a1 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2111,7 +2111,8 @@ C<$privacy> contains the privacy parameter. If the patron has set privacy to 2, the old_issue is immediately anonymised Ideally, this function would be internal to C, -not exported, but it is currently used in misc/cronjobs/longoverdue.pl. +not exported, but it is currently used in misc/cronjobs/longoverdue.pl +and offline_circ/process_koc.pl. =cut diff --git a/offline_circ/process_koc.pl b/offline_circ/process_koc.pl index a72dbdd384..174f00db67 100755 --- a/offline_circ/process_koc.pl +++ b/offline_circ/process_koc.pl @@ -335,7 +335,6 @@ sub kocReturnItem { C4::Circulation::MarkIssueReturned( $borrowernumber, $item->itemnumber, - undef, $circ->{'date'}, $patron->privacy ); -- 2.39.5