diff --git a/webtools/testopia/Bugzilla/Testopia/TestCase.pm b/webtools/testopia/Bugzilla/Testopia/TestCase.pm index 5da61218177a..58880a7c3906 100644 --- a/webtools/testopia/Bugzilla/Testopia/TestCase.pm +++ b/webtools/testopia/Bugzilla/Testopia/TestCase.pm @@ -1346,6 +1346,7 @@ sub candelete { my $own_all = 1; foreach my $plan (@{$self->plans}){ $own_all == 0 if (Bugzilla->user->id != $plan->author->id); + last; } return 1 if $own_all;