]> git.koha-community.org Git - koha.git/commit
Bug 31192: Check for item before calling is_bundle
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 20 Jul 2022 08:29:39 +0000 (09:29 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 20 Jul 2022 14:50:05 +0000 (11:50 -0300)
commitde6ca8aa3d291edc054028fb4f16bc6540ab47fb
treee63a592cca458673de5a4fb8d45e3693fbfd5a5e
parente37359cae96535e45ccb26a5e22d5b67920d27cd
Bug 31192: Check for item before calling is_bundle

The code in here is weird.. we really aught to check for the item before
anything else and throw an error to screen if we don't find one... but
my patch takes the simple option, and the one taken elsewhere in the
script.. to just check for item being defined before calling a method
upon it.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/returns.pl