Bug 28293: (bug 20443 follow-up) Fix wrong key in Patrons::Import->generate_patron_at...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 May 2021 09:18:55 +0000 (11:18 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 12 May 2021 15:11:10 +0000 (17:11 +0200)
commite36f7b988043342a4a162df306d7f66b98142cfb
tree0417a359afeb38dfc8fbe4d459e92b9bd217b262
parenta103cdbf1fddc41597ef8b0632fbdd475bad439a
Bug 28293: (bug 20443 follow-up) Fix wrong key in Patrons::Import->generate_patron_attributes

It generates warnings
Use of uninitialized value in string comparison (cmp) at /kohadevbox/koha/Koha/Patrons/Import.pm line 550, <$fh> line 2.

And does not sort correctly (no fallback on the attribute's value for repeatable attributes)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2da36e3f175de1fcf23bdfbc96b8053f3a0a7d26)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patrons/Import.pm