From d86c35b02a889656976ff90555aabde10801f8ba Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 23 Feb 2023 00:43:31 +0000 Subject: [PATCH] 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 --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt index 999e6aaa7e..c7029fcd19 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -265,7 +265,7 @@ [% ELSE %]

Logging on to the catalog has not been enabled by the library.

[% END # / IF opacuserlogin %] -- 2.30.2