Skip to content

Commit

Permalink
Suppress footer too when SuppressHeader is true for error page
Browse files Browse the repository at this point in the history
Header and Footer are supposed to be paired.
  • Loading branch information
sunnavy committed Apr 4, 2024
1 parent f52a076 commit a5fb0ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/html/Elements/Error
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
<%$Details%>
</div>

% unless ($SuppressHeader) {
<& /Elements/Footer &>
% }
% $m->abort;

<%args>
Expand Down

0 comments on commit a5fb0ed

Please sign in to comment.