aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-01-03 03:32:29 +0000
committerlpsolit%gmail.com <>2008-01-03 03:32:29 +0000
commit697e9b9562940e4c5655d1c9a8d81d888cdec6eb (patch)
tree0d14f5a7cccc7380ac9acfb8c43076311ba3dfff
parent4182ab63310c7f9a4886edc22ff50c8c68bd0282 (diff)
downloadbugs-697e9b9562940e4c5655d1c9a8d81d888cdec6eb.tar
bugs-697e9b9562940e4c5655d1c9a8d81d888cdec6eb.tar.gz
bugs-697e9b9562940e4c5655d1c9a8d81d888cdec6eb.tar.bz2
bugs-697e9b9562940e4c5655d1c9a8d81d888cdec6eb.tar.xz
bugs-697e9b9562940e4c5655d1c9a8d81d888cdec6eb.zip
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);
}
}