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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Mar 2023 14:13:05 +0000 (14:13 +0000)
commitdc98c33f77ce807ca703272f89b027a3c838fc8d
tree954dcee944a316a98a544e96c731345c5df0b254
parent8172a2ac1456ef3a60d6de59c91236acae44b2b1
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>
(cherry picked from commit cd9024abe25f0959f946ba9e219bc4ddce0587dc)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit 502cbada71c468a84ac70b1a26d26388db2ba4b0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt