From 211e7fc5a3c7bcb79d4dec23d9a05a53c3b50f42 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Tue, 5 Mar 2002 18:51:38 +0000 Subject: Fix for bug 129016: Corrects conditional operator. Patch by Myk Melez . r=bbaetz x 2 --- post_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post_bug.cgi') 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'}; } -- cgit v1.2.3-24-g4f1b