Bug 19531: When saving patron record do not redirect to circ if not authorised
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Oct 2017 20:29:16 +0000 (17:29 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 17:09:01 +0000 (14:09 -0300)
commit30a0d4f6c97e783868128c051465722aefd95ac7
tree32f8f4332aec58d384de0f18abb02f7dc62abf3b
parent99e487bc7162cee4bb9a8916637f4e1ddd7ccc00
Bug 19531: When saving patron record do not redirect to circ if not authorised

If the logged in patron does not have the necessary permission we should
not redirect to circulation.pl but moremember.pl instead

Test plan:
With the borrowers permission, you should be able to edit a patron and
be redirect to the moremember page

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
members/memberentry.pl