summaryrefslogtreecommitdiffstats
path: root/CGI.pl
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 /CGI.pl
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 'CGI.pl')
-rw-r--r--CGI.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index 165e5216c..58075bacb 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -251,13 +251,13 @@ sub CheckIfVotedConfirmed {
"WHERE bugs.bug_id = $id AND products.id = bugs.product_id");
my ($votes, $status, $votestoconfirm, $everconfirmed) = (FetchSQLData());
my $ret = 0;
- if ($votes >= $votestoconfirm && $status eq $::unconfirmedstate) {
+ if ($votes >= $votestoconfirm && $status eq 'UNCONFIRMED') {
SendSQL("UPDATE bugs SET bug_status = 'NEW', everconfirmed = 1 " .
"WHERE bug_id = $id");
my $fieldid = GetFieldID("bug_status");
SendSQL("INSERT INTO bugs_activity " .
"(bug_id,who,bug_when,fieldid,removed,added) VALUES " .
- "($id,$who,now(),$fieldid,'$::unconfirmedstate','NEW')");
+ "($id,$who,now(),$fieldid,'UNCONFIRMED','NEW')");
if (!$everconfirmed) {
$fieldid = GetFieldID("everconfirmed");
SendSQL("INSERT INTO bugs_activity " .