From 11ddbc817d899755cc27b18133c5a46d865c1831 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 8 Jul 2016 09:51:18 -0300 Subject: [PATCH] Bug 14504: (QA followup) Fix delete_records_via_leader.pl call to DelItemCheck Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall --- misc/cronjobs/delete_records_via_leader.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/delete_records_via_leader.pl b/misc/cronjobs/delete_records_via_leader.pl index b262dedfdd..e9a8546e29 100755 --- a/misc/cronjobs/delete_records_via_leader.pl +++ b/misc/cronjobs/delete_records_via_leader.pl @@ -87,7 +87,7 @@ foreach my $biblioitem (@biblioitems) { foreach my $item ( $biblioitem->items() ) { my $itemnumber = $item->itemnumber(); - my $error = $test ? "Test mode enabled" : DelItemCheck( undef, $biblionumber, $itemnumber ); + my $error = $test ? "Test mode enabled" : DelItemCheck( $biblionumber, $itemnumber ); $error = undef if $error eq '1'; if ($error) { -- 2.39.5