diff options
-rw-r--r-- | template/en/default/bug/process/header.html.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/bug/process/header.html.tmpl b/template/en/default/bug/process/header.html.tmpl index 8c0825ef8..a17607841 100644 --- a/template/en/default/bug/process/header.html.tmpl +++ b/template/en/default/bug/process/header.html.tmpl @@ -27,7 +27,8 @@ [% USE Bugzilla %] [%# BMO: allow experimental UIs to replace show-header %] -[% IF alt_ui_header %] +[%# if there isn't a bug to display, we need fall back to the default header %] +[% IF bug && alt_ui_header %] [% PROCESS $alt_ui_header %] [% ELSE %] [% PROCESS "bug/show-header.html.tmpl" %] |