From 7a0b36d806c3b724ede26aba9dc19e5f6dde49c0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 3 Apr 2020 14:04:38 +0200 Subject: [PATCH] Bug 4461: Hide link if KohaAdminEmailAddress is not set opac-reportproblem.pl returns a 404 in that case Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index ab70113b59..1eed071515 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -16,11 +16,11 @@ [% END #/ opaccredits %] - [% IF ( Koha.Preference('OPACReportProblem') || OpacKohaUrl ) %] + [% IF ( Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') ) || OpacKohaUrl %]
- [% IF Koha.Preference('OPACReportProblem') %] + [% IF Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') %] -- 2.20.1