From 74b775419cab11db465b3513edd7d8912708aa05 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 --- 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 6387d06..cb0f5af 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2101,7 +2101,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 a72dbdd..174f00d 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.1.4