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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 13 Feb 2020 20:49:01 +0000 (20:49 +0000)
commite9da9462a5feba15a6ac9ef83ab69ceded9f590c
tree0206ba1708ec2870185086ff51e18479b4da5d26
parent4c0fc622a5ca6029e6c0b1dee42ac50a090ed32c
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>
(cherry picked from commit caba8dafb820448aca877c86682c28ff97953f3b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/cronjobs/longoverdue.pl