Bug 23271: Prevent crash if called without parameters
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 09:53:53 +0000 (11:53 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 13:25:07 +0000 (15:25 +0200)
commit6a941e5b86f36256327d3a890c5037145cb935f7
treed2590415e666ff4ddc5489254cb758e93d9b74f2
parentbfdb4961d9e57a22a3e7dc6cdc10e86c5ff32e9e
Bug 23271: Prevent crash if called without parameters

Can't use an undefined value as a HASH reference at /kohadevbox/koha/Koha/Objects/Limit/Library.pm line 87.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Objects/Limit/Library.pm
t/db_dependent/Koha/Patron/Attribute/Types.t