From: lpsolit%gmail.com <> Date: Thu, 3 Jan 2008 03:32:29 +0000 (+0000) Subject: Bug 399654: Entering a bug with strict_isolation turned on fails due to an incorrect... X-Git-Tag: bugzilla-3.1.3~414 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=697e9b9562940e4c5655d1c9a8d81d888cdec6eb;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 70f2edd1d6..5244a21b3d 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); } }