summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Field/ChoiceInterface.pm
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2015-03-30 19:53:57 +0200
committerGervase Markham <gerv@gerv.net>2015-03-30 19:53:57 +0200
commit79ec29975ac8d1a4f49b83ed404a1ee04c33b73c (patch)
treefd747279bdfb8f3857e7e64468c0915649319523 /Bugzilla/Field/ChoiceInterface.pm
parent2c82105b0fed5d6739111c5de8dba063b01ab446 (diff)
downloadbugzilla-79ec29975ac8d1a4f49b83ed404a1ee04c33b73c.tar.gz
bugzilla-79ec29975ac8d1a4f49b83ed404a1ee04c33b73c.tar.xz
Bug 1007605 - Make FIXED non-fixed, by changing noresolveonopenblockers to define what the fixed resolution is. r,a=glob
Diffstat (limited to 'Bugzilla/Field/ChoiceInterface.pm')
-rw-r--r--Bugzilla/Field/ChoiceInterface.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Field/ChoiceInterface.pm b/Bugzilla/Field/ChoiceInterface.pm
index 634d36ad1..9ac508dc0 100644
--- a/Bugzilla/Field/ChoiceInterface.pm
+++ b/Bugzilla/Field/ChoiceInterface.pm
@@ -88,8 +88,7 @@ sub is_static {
# If we need to special-case Resolution for *anything* else, it should
# get its own subclass.
if ($self->field->name eq 'resolution') {
- return grep($_ eq $self->name, ('', 'FIXED', 'DUPLICATE'))
- ? 1 : 0;
+ return $self->name eq '' || $self->name eq 'DUPLICATE';
}
elsif ($self->field->custom) {
return $self->name eq '---' ? 1 : 0;