diff options
author | myk%mozilla.org <> | 2002-03-05 18:51:38 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2002-03-05 18:51:38 +0000 |
commit | 211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42 (patch) | |
tree | cc285938a8a8e41b3d4b0c34561a3caf2dda1d6b /post_bug.cgi | |
parent | Fix for bug 128784: Eliminates redundant function call in userprefs.cgi. (diff) | |
download | bugzilla-211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42.tar.gz bugzilla-211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42.tar.bz2 bugzilla-211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42.zip |
Fix for bug 129016: Corrects conditional operator.
Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz x 2
Diffstat (limited to 'post_bug.cgi')
-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'}; } |