diff options
author | myk%mozilla.org <> | 2002-03-05 19:51:38 +0100 |
---|---|---|
committer | myk%mozilla.org <> | 2002-03-05 19:51:38 +0100 |
commit | 211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42 (patch) | |
tree | cc285938a8a8e41b3d4b0c34561a3caf2dda1d6b | |
parent | cd081e358a07abf94e730de47c05d5be82d07bfe (diff) | |
download | bugzilla-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-x | post_bug.cgi | 2 |
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'}; } |