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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 23 Jan 2020 10:26:05 +0000 (10:26 +0000)
commit6fa4fbbbd7a80c0d74f5548f4fa746c4cf85ed1d
tree02ed445064329b841122123e66e87a391743c54d
parent44ab1fd5c70e7ba825ee9c37ed616d332f2d8bde
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