summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/process
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-31 15:42:23 +0200
committerByron Jones <glob@mozilla.com>2015-03-31 15:42:23 +0200
commit49bd70ad791e822a2a0a2c43bc3396cb32666558 (patch)
tree89d9ce8369fff3df4ad2858c7fd36e5fc0c52966 /template/en/default/bug/process
parent7af541bfbdf514d788b35e8d010bc5437f2bea32 (diff)
downloadbugzilla-49bd70ad791e822a2a0a2c43bc3396cb32666558.tar.gz
bugzilla-49bd70ad791e822a2a0a2c43bc3396cb32666558.tar.xz
Bug 1149440: "Can't call method "assigned_to" without a package or object reference" error updating bug when "After changing a bug" is set to "Show next bug in my list"
Diffstat (limited to 'template/en/default/bug/process')
-rw-r--r--template/en/default/bug/process/header.html.tmpl3
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" %]