From 49bd70ad791e822a2a0a2c43bc3396cb32666558 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 31 Mar 2015 21:42:23 +0800 Subject: 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" --- template/en/default/bug/process/header.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en') 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" %] -- cgit v1.2.3-24-g4f1b