From fb1bdea6d1eefba754d0eb384a8c2e4b03ffd150 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 Signed-off-by: Martin Renvoize --- 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.39.5