]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 129016: Corrects conditional operator.
authormyk%mozilla.org <>
Tue, 5 Mar 2002 18:51:38 +0000 (18:51 +0000)
committermyk%mozilla.org <>
Tue, 5 Mar 2002 18:51:38 +0000 (18:51 +0000)
Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz x 2

post_bug.cgi

index f6af3117344ffd5e4ae10a1e95481762d19a4dd7..0ae44d32fca45567eba83c94f1d04bae06f0caa6 100755 (executable)
@@ -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'};
     }