From 793f9d9c3900d37147494de72065ebc66e61d019 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 18 Feb 2013 14:12:06 +0800 Subject: Fix regression due to bug 830330 --- template/en/default/flag/list.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default') diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 16775c714..8de9955ea 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -18,7 +18,7 @@ # Contributor(s): Myk Melez #%] -[% IF user.id && !read_only_flags && bug.check_can_change_field('flagtypes.name', 0, 1) %] +[% IF user.id && !read_only_flags && (!bug || bug.check_can_change_field('flagtypes.name', 0, 1)) %] [%# We list flags by looping twice over the flag types relevant for the bug. # In the first loop, we display existing flags and then, for active types, -- cgit v1.2.3-24-g4f1b