summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-09 01:22:25 +0100
committertravis%sedsystems.ca <>2005-02-09 01:22:25 +0100
commitc0df359943e8b746f02f5c43d25e5ffea99f8d19 (patch)
treec6245cd227c142f81d5c136576af06189d132a32 /post_bug.cgi
parentd286752d0525b9bf8e6617b332aa8b3638212fc3 (diff)
downloadbugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.gz
bugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.xz
Bug 276838 : Eliminate use of $::unconfirmedstate
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap a=justdave
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 40111ff77..97f788dc6 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -158,7 +158,7 @@ if (UserInGroup("canedit") || UserInGroup("canconfirm")) {
$::FORM{'bug_status'} ||= "NEW";
} else {
# Default to UNCONFIRMED if we are using it, NEW otherwise
- $::FORM{'bug_status'} = $::unconfirmedstate;
+ $::FORM{'bug_status'} = 'UNCONFIRMED';
SendSQL("SELECT votestoconfirm FROM products WHERE id = $product_id");
if (!FetchOneColumn()) {
$::FORM{'bug_status'} = "NEW";
@@ -182,7 +182,7 @@ CheckFormField(\%::FORM, 'rep_platform', \@::legal_platform);
CheckFormField(\%::FORM, 'bug_severity', \@::legal_severity);
CheckFormField(\%::FORM, 'priority', \@::legal_priority);
CheckFormField(\%::FORM, 'op_sys', \@::legal_opsys);
-CheckFormField(\%::FORM, 'bug_status', [$::unconfirmedstate, 'NEW']);
+CheckFormField(\%::FORM, 'bug_status', ['UNCONFIRMED', 'NEW']);
CheckFormField(\%::FORM, 'version', $::versions{$product});
CheckFormField(\%::FORM, 'component', $::components{$product});
CheckFormField(\%::FORM, 'target_milestone', $::target_milestone{$product});
@@ -198,7 +198,7 @@ foreach my $field (@bug_fields) {
}
if (exists $::FORM{'bug_status'}
- && $::FORM{'bug_status'} ne $::unconfirmedstate)
+ && $::FORM{'bug_status'} ne 'UNCONFIRMED')
{
push(@used_fields, "everconfirmed");
$::FORM{'everconfirmed'} = 1;