Bug 33048: Fix email link on error page when opac login not allowed
authorDavid Cook <dcook@prosentient.com.au>
Thu, 23 Feb 2023 00:43:31 +0000 (00:43 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 14:37:34 +0000 (11:37 -0300)
commitcd9024abe25f0959f946ba9e219bc4ddce0587dc
tree6f2b824261636692a63b2788de842e29eca960ba
parent37530b445fe3abad2861c02cc191bb6095f218c0
Bug 33048: Fix email link on error page when opac login not allowed

This change replaces a non-existent variable with the
KohaAdminEmailAddress syspref.

Test plan:
0. Apply the patch
1. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=opacuserlogin
2. Set to "Don't allow"
3. In an incognito window, go to http://localhost:8080/cgi-bin/koha/opac-reportproblem.pl
4. Note that the "mailto" link for "Email" has the value from KohaAdminEmailAddress syspref

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt