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>
This commit is contained in:
parent
37530b445f
commit
cd9024abe2
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@
|
|||
[% ELSE %]
|
||||
<h1>Logging on to the catalog has not been enabled by the library.</h1>
|
||||
<ul>
|
||||
<li>To report this error, you can email the Koha Administrator.<a href="mailto:[% admin | uri %]">Email</a></li>
|
||||
<li>To report this error, you can email the Koha Administrator. <a href="mailto:[% Koha.Preference( 'KohaAdminEmailAddress' ) | uri %]">Email</a></li>
|
||||
<li>Use top menu bar to navigate to another part of Koha.</li>
|
||||
</ul>
|
||||
[% END # / IF opacuserlogin %]
|
||||
|
|
Loading…
Reference in a new issue