]> git.koha-community.org Git - koha.git/commit
Bug 28001: (bug 27050 follow-up) Fix delete_patrons if no category passed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Apr 2021 09:00:37 +0000 (11:00 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 10:28:17 +0000 (12:28 +0200)
commit1dfa520da5a6fba2e1b1cd3d24539a2d2fd524ea
tree26913535976d19dedd0174bdb6d69b1b2e1b7ae0
parent21ea89d774d50b1667b18e252f56abe295a97d34
Bug 28001: (bug 27050 follow-up) Fix delete_patrons if no category passed

GetBorrowersToExpunge must not crash if called with an empty patron
category list

Test plan:
Call delete_patrons.pl with and without patron categories. The script
must work as expected

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Members.pm
t/db_dependent/Members.t