From e9da9462a5feba15a6ac9ef83ab69ceded9f590c 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 (cherry picked from commit caba8dafb820448aca877c86682c28ff97953f3b) Signed-off-by: Lucas Gass --- 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