зеркало из https://github.com/mozilla/gecko-dev.git
== where = should be
This commit is contained in:
Родитель
5595314928
Коммит
134710d54a
|
@ -1345,7 +1345,7 @@ sub candelete {
|
|||
# Allow plan author to delete if this case is linked only to plans she owns.
|
||||
my $own_all = 1;
|
||||
foreach my $plan (@{$self->plans}){
|
||||
$own_all == 0 if (Bugzilla->user->id != $plan->author->id);
|
||||
$own_all = 0 if (Bugzilla->user->id != $plan->author->id);
|
||||
last;
|
||||
}
|
||||
return 1 if $own_all;
|
||||
|
|
Загрузка…
Ссылка в новой задаче