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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 26 Feb 2019 09:21:02 +0000 (09:21 +0000)
commit4771a7da8e30798d1d9e389db94e7efc3428a5e0
treec46f26cb6cd947299ce95c864f90852aedb51762
parentd6ca92031339629bfa50fdda3c8e1e46b5c33c89
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>
(cherry picked from commit 8a9c82c3ec42fb5c2937fa523170b3710288d7fd)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patrons/Import.pm