Bug 22386: Define patron variable when matchign on extended attributes
authorNick Clemens <nick@bywatersolutions.com>
Thu, 21 Feb 2019 14:30:22 +0000 (14:30 +0000)
committerroot <root@f1ebe1bec408>
Fri, 22 Feb 2019 13:06:04 +0000 (13:06 +0000)
commit8a9c82c3ec42fb5c2937fa523170b3710288d7fd
tree12f887027eee9b56bcb73aad5e8cc25e925522b1
parent9f27a63b9ad770ac56e32a3e79d1ecb657534482
Bug 22386: Define patron variable when matchign on extended attributes

For all other methods we define a patron object and check the userid,
we just need to define the $patron here

To test:
0 - Apply unit test patch alone
1 - prove t/db_dependent/Koha/Patrons/Import.t
2 - It dies
3 - Apply this patch
4 - repeat tests
5 - It passes!

Signed-off-by: Devlyn Courtier <dcourtier@hccc.edu>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Patrons/Import.pm