]> git.koha-community.org Git - koha.git/commit
Bug 22067: Return if no patron passed to can_see_patron_infos
authorNick Clemens <nick@bywatersolutions.com>
Thu, 3 Jan 2019 20:52:15 +0000 (20:52 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 4 Mar 2019 22:17:13 +0000 (22:17 +0000)
commit0dd262a02eb162da2636c420c7d988adaa1640d8
treef2194e6339d13aa0f234b0dd65f9f8c0fb6714b1
parent1fc4721ec2a90246f2bdd019ae9573a145009546
Bug 22067: Return if no patron passed to can_see_patron_infos

To test:
1 - Find an adult patron
2 - Add a child to their account
3 - Delete the parent from the db
4 - Attempt to edit the child record
5 - Apply patch
6 - Repeat
7 - Note you can edit the child account
8 - Note guarantor id is not a link

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
No blocker for me, but we are a bit hiding that guarantorid probably should
be a foreign key cleared to NULL at deletion time.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5324268e099ead7a6864d16bae0f051444a1d34e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit e7201d27af1ca0c83ba66b69b4836c21b4905dda)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Patron.pm