Koha-clms/C4/Members
Jonathan Druart ea598df624 Bug 16504: (follow-up for bug 15163) Do not remove attributes of other patrons
Simple patch for a silly error, this single line is going to fix a
critical bug.
If a patron attribute is limited to a library, all the values for that attributes
for every patrons will be deleted.

Test plan:
Create a patron attribute limited to a library
Set the the attribute for a patron
Set the the attribute for another patron
=> Without this patch applied, the attribute's value for the first
patron is deleted
=> With this patch applied, the 2 values exist in the DB after the
second edition

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit da94410ab5)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 247bd55876)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-06-16 09:52:12 +02:00
..
AttributeTypes.pm Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
Attributes.pm Bug 16504: (follow-up for bug 15163) Do not remove attributes of other patrons 2016-06-16 09:52:12 +02:00
Messaging.pm Bug 14621: Messaging preferences table needs to be sorted 2015-09-07 12:15:45 -03:00
Statistics.pm Bug 12721: (followup) Replace mysqlism by DBIx::Class 2016-05-09 10:40:47 +02:00