Commit c46d2ee2 authored by Frédéric Buclin's avatar Frédéric Buclin

Fix regression due to bug 830330

parent d6bcb48d
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment