summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-03-05 19:51:38 +0100
committermyk%mozilla.org <>2002-03-05 19:51:38 +0100
commit211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42 (patch)
treecc285938a8a8e41b3d4b0c34561a3caf2dda1d6b
parentcd081e358a07abf94e730de47c05d5be82d07bfe (diff)
downloadbugzilla-211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42.tar.gz
bugzilla-211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42.tar.xz
Fix for bug 129016: Corrects conditional operator.
Patch by Myk Melez <myk@mozilla.org>. r=bbaetz x 2
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index f6af31173..0ae44d32f 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -125,7 +125,7 @@ if (exists $::FORM{'bug_status'}) {
# or NEW, depending on votestoconfirm if either the given state was
# unconfirmed (so that a user can't override the below check), or if
# the user doesn't have permission to change the default status anyway
- if ($::FORM{'bug_status'} == $::unconfirmedstate
+ if ($::FORM{'bug_status'} eq $::unconfirmedstate
|| (!UserInGroup("canedit") && !UserInGroup("canconfirm"))) {
delete $::FORM{'bug_status'};
}