]> git.koha-community.org Git - koha.git/commit
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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 1 Mar 2023 09:34:49 +0000 (09:34 +0000)
commit502cbada71c468a84ac70b1a26d26388db2ba4b0
tree5d51c5113ad1628edaef9431f84725ee898914d6
parentaa0397cd6c28e79880c27731d4caa836b0538ea9
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt