diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-02-17 03:17:18 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-02-17 03:17:18 +0100 |
commit | c46d2ee2827adadb9a204d8025fcbc92d7a24650 (patch) | |
tree | 0f7d3e8ea5317fa91c4b74eb281db4f24b340028 | |
parent | d6bcb48dc26f6c3691643093172fdaab53e99003 (diff) | |
download | bugzilla-c46d2ee2827adadb9a204d8025fcbc92d7a24650.tar.gz bugzilla-c46d2ee2827adadb9a204d8025fcbc92d7a24650.tar.xz |
Fix regression due to bug 830330
-rw-r--r-- | template/en/default/flag/list.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 7a3f88fc5..4d7eefb48 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -6,7 +6,7 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% 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, |