Fix for bug 129016: Corrects conditional operator.

Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz x 2
This commit is contained in:
myk%mozilla.org 2002-03-05 10:51:38 +00:00
Родитель 7a5d757e23
Коммит 96d51bdd46
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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'};
}