From 502cbada71c468a84ac70b1a26d26388db2ba4b0 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 Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi (cherry picked from commit cd9024abe25f0959f946ba9e219bc4ddce0587dc) Signed-off-by: Matt Blenkinsop --- 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.

    -
  • To report this error, you can email the Koha Administrator.Email
  • +
  • To report this error, you can email the Koha Administrator. Email
  • Use top menu bar to navigate to another part of Koha.
[% END # / IF opacuserlogin %] -- 2.20.1