diff options
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 4 | ||||
-rw-r--r-- | Bugzilla/BugMail.pm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 60083c887..e231f93b0 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -28,7 +28,7 @@ package Bugzilla::Bug; use strict; use Bugzilla::RelationSet; -use vars qw($unconfirmedstate $legal_keywords @legal_platform +use vars qw($legal_keywords @legal_platform @legal_priority @legal_severity @legal_opsys @legal_bugs_status @settable_resolution %components %versions %target_milestone @enterable_products %milestoneurl %prodmaxvotes); @@ -258,7 +258,7 @@ sub initBug { $self->{'milestoneurl'} = $::milestoneurl{$self->{product}}; - $self->{'isunconfirmed'} = ($self->{bug_status} eq $::unconfirmedstate); + $self->{'isunconfirmed'} = ($self->{bug_status} eq 'UNCONFIRMED'); $self->{'isopened'} = &::IsOpenedState($self->{bug_status}); my @depends = EmitDependList("blocked", "dependson", $bug_id); diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 258bc0ccb..77156b0e7 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -512,7 +512,7 @@ sub getEmailAttributes (\%\@$) { my (@flags,@uniqueFlags,%alreadySeen) = (); # Add a flag if the status of the bug is "unconfirmed". - if ($bug->{'bug_status'} eq $::unconfirmedstate) { + if ($bug->{'bug_status'} eq 'UNCONFIRMED') { push (@flags, 'Unconfirmed') }; |