Bug 24105: Fix error when running longoverdue.pl with --itemtypes
authorLiz Rea <liz@bywatersolutions.com>
Mon, 25 Nov 2019 17:20:51 +0000 (11:20 -0600)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 6 Feb 2020 23:20:58 +0000 (23:20 +0000)
commitcaba8dafb820448aca877c86682c28ff97953f3b
treec0046ee1491ed67999c153fd216dee76302593c0
parentd79888822bba76c1eab3530f5b792bd7c88bbbde
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 <david.roberts@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/cronjobs/longoverdue.pl