From 6fa4fbbbd7a80c0d74f5548f4fa746c4cf85ed1d Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 25 Nov 2019 11:20:51 -0600 Subject: [PATCH] Bug 24105: Fix error when running longoverdue.pl with --itemtypes To test: Run Longoverdue.pl as koha-shell with both 1 and several --itemtypes specified notice that it has an error apply this patch run longoverdue.pl as koha-shell with both 1 and several --itemtypes specified notice there isn't an error anymore! Signed-off-by: David Roberts Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- misc/cronjobs/longoverdue.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/cronjobs/longoverdue.pl b/misc/cronjobs/longoverdue.pl index 754cb62698..97639374d8 100755 --- a/misc/cronjobs/longoverdue.pl +++ b/misc/cronjobs/longoverdue.pl @@ -71,8 +71,8 @@ GetOptions( 'category=s' => $borrower_category, 'skip-category=s' => $skip_borrower_category, 'list-categories' => \$list_categories, - 'itemtype=s' => \$itemtype, - 'skip-itemtype=s' => \$skip_itemtype, + 'itemtype=s' => $itemtype, + 'skip-itemtype=s' => $skip_itemtype, 'list-itemtypes' => \$list_itemtypes, ); -- 2.39.5