Bug 20443: Fix merge_with behavior
commit9ce0dd6b9225328e49098b69201767f240b47270
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Mar 2020 09:58:54 +0000 (20 10:58 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Mar 2020 13:49:24 +0000 (23 13:49 +0000)
tree227da36aad758aedf8f65f07b46d3a610f9c1272
parente8c6fcb8a0aff24fae155c1260c37b007da3da4a
Bug 20443: Fix merge_with behavior

merge_with were returning Koha::Patron::Attribute for existing attribute
and hashref for new attribute.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patron/Attributes.pm
t/db_dependent/Koha/Patrons.t