From 697e9b9562940e4c5655d1c9a8d81d888cdec6eb Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 3 Jan 2008 03:32:29 +0000 Subject: Bug 399654: Entering a bug with strict_isolation turned on fails due to an incorrect argument passed to can_see_product() - Patch by Frédéric Buclin r=bkor a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 70f2edd1d..5244a21b3 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -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); } } -- cgit v1.2.3-24-g4f1b