This commit is contained in:
ghendricks%novell.com 2006-11-27 18:08:32 +00:00
Родитель 5595314928
Коммит 134710d54a
1 изменённых файлов: 1 добавлений и 1 удалений

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

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