Bug 17296: Display warning if AnonymousPatron is not correctly set
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Sep 2016 12:39:34 +0000 (13:39 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 08:46:52 +0000 (10:46 +0200)
commit92d648f579fb03e1e5bed45e28c8604a2ea7aab0
tree8bf4647096ea4832181845b3b914e1e40bc61c96
parent1ade46e5a4928ffd8ae4080b0f0f09c0b564ed13
Bug 17296: Display warning if AnonymousPatron is not correctly set

Bug 14655 added a warning to the about page ("System information" tab)
if the AnonymousPatron feature is not correctly configured.
But actually there is one case when it's not displayed.

Test plan:
Set AnonymousPatron to a non existing patron
Set at least 1 borrowers.privacy == 2
go on the about page.
Without this patch you do not get the warning
With this patch you will see "Some patrons have requested a privacy on
returning item but the AnonymousPatron pref is not set correctly. Set it
to a valid borrower number if you want that this feature works
correctly."

Signed-off-by: Marc <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 1a2d804a8094ea05199803593698b4294f029913)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt