summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-02-18 07:12:06 +0100
committerByron Jones <bjones@mozilla.com>2013-02-18 07:12:06 +0100
commit793f9d9c3900d37147494de72065ebc66e61d019 (patch)
tree8d554ff80d665d24e249c2e3d7935350b0f52c4d /template/en/default
parent841c07890e9ce51a5884edbd63ecc10e1ff2fbf1 (diff)
downloadbugzilla-793f9d9c3900d37147494de72065ebc66e61d019.tar.gz
bugzilla-793f9d9c3900d37147494de72065ebc66e61d019.tar.xz
Fix regression due to bug 830330
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/flag/list.html.tmpl2
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 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 <myk@mozilla.org>
#%]
-[% 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,