]> git.koha-community.org Git - koha.git/commit
Bug 16960: Delete previous patron modifications
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 19 Aug 2016 12:39:35 +0000 (13:39 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 22 Aug 2016 11:46:05 +0000 (11:46 +0000)
commit68407f4cf06b4063241582183c65cc66278f2c37
treec41d19684d88916965887f7d3b1e73431b5605c1
parent7a33e3ba75cdfdf60e3c1403ecc542f084ffc851
Bug 16960: Delete previous patron modifications

If a patron edit his/her details a second time, we need to delete the
first ones to avoid a "duplicate entry for key PRIMARY" error.

Test plan:
Log in at the OPAC
Edit your details
Edit them again
=> Without this patch, Koha will crash
=> With the patch applied, everything should work as expected

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-memberentry.pl