summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-01-03 04:32:29 +0100
committerlpsolit%gmail.com <>2008-01-03 04:32:29 +0100
commit697e9b9562940e4c5655d1c9a8d81d888cdec6eb (patch)
tree0d14f5a7cccc7380ac9acfb8c43076311ba3dfff
parent4182ab63310c7f9a4886edc22ff50c8c68bd0282 (diff)
downloadbugzilla-697e9b9562940e4c5655d1c9a8d81d888cdec6eb.tar.gz
bugzilla-697e9b9562940e4c5655d1c9a8d81d888cdec6eb.tar.xz
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 <LpSolit@gmail.com> r=bkor a=LpSolit
-rwxr-xr-xBugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
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);
}
}