]> git.koha-community.org Git - koha.git/commit
Bug 31595: Don't process extended attributes if none are inlcuded in the file
authorNick Clemens <nick@bywatersolutions.com>
Wed, 21 Sep 2022 16:10:34 +0000 (16:10 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Oct 2022 18:55:56 +0000 (15:55 -0300)
commit40cff1a774a3a9deea2effb375b3e7272003444c
treee4458ac8609042964fdcf6259e194b71b80678b5
parent0d974073db9311336ddb6bcdf82eb980953983a8
Bug 31595: Don't process extended attributes if none are inlcuded in the file

This patch simply adds a check to the import process to only process attrbutes if
they have been found in the data

To test:
1 - Import some patrons without extended attributes
2 - Import patrons including extended attributes
3 - Confirm both work unchanged

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patrons/Import.pm