Commit 697e9b95 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 399654: Entering a bug with strict_isolation turned on fails due to an…

Bug 399654: Entering a bug with strict_isolation turned on fails due to an incorrect argument passed to can_see_product() - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=bkor a=LpSolit
parent 4182ab63
......@@ -1260,7 +1260,7 @@ sub _check_strict_isolation {
foreach my $id (keys %unique_users) {
my $related_user = $unique_users{$id};
if (!$related_user->can_edit_product($product->id) ||
!$related_user->can_see_product($product->id)) {
!$related_user->can_see_product($product->name)) {
push (@blocked_users, $related_user->login);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment