diff options
author | Byron Jones <bjones@mozilla.com> | 2013-11-14 05:24:51 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-11-14 05:24:51 +0100 |
commit | b257fb97f3c26be2efcb673a6c1c3de3a45b2135 (patch) | |
tree | 6ea7bead88d1c01b7b01b9d233249d397eea6ad1 /extensions/TrackingFlags/lib | |
parent | d52ce71f7101596e05771f02f5cca7ce5df059d0 (diff) | |
download | bugzilla-b257fb97f3c26be2efcb673a6c1c3de3a45b2135.tar.gz bugzilla-b257fb97f3c26be2efcb673a6c1c3de3a45b2135.tar.xz |
Bug 931171: add bulk_flag_clear.pl script
Diffstat (limited to 'extensions/TrackingFlags/lib')
-rw-r--r-- | extensions/TrackingFlags/lib/Flag.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/TrackingFlags/lib/Flag.pm b/extensions/TrackingFlags/lib/Flag.pm index bc422243e..3ae7a937e 100644 --- a/extensions/TrackingFlags/lib/Flag.pm +++ b/extensions/TrackingFlags/lib/Flag.pm @@ -389,7 +389,9 @@ sub can_set_value { last; } } - return $new_value_obj && $user->in_group($new_value_obj->setter_group->name) + return $new_value_obj + && $new_value_obj->setter_group + && $user->in_group($new_value_obj->setter_group->name) ? 1 : 0; } |