summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-20 04:32:36 +0200
committermkanat%bugzilla.org <>2008-08-20 04:32:36 +0200
commitda8a6f8b53f16756e88ec1bb378b2fd29baf9a5b (patch)
treefb0497929d316dbb0cee629e21b605e3c6734d9d /editusers.cgi
parent8345701835066f68fc66f4177be57d19db6899d6 (diff)
downloadbugzilla-da8a6f8b53f16756e88ec1bb378b2fd29baf9a5b.tar.gz
bugzilla-da8a6f8b53f16756e88ec1bb378b2fd29baf9a5b.tar.xz
Bug 442016: Bugzilla::User::bless_groups should be returning Bugzilla::Group objects
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 4e75d6df4..f133b7409 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -276,9 +276,9 @@ if ($action eq 'search') {
# would allow to display a friendlier error message on page reloads.
userDataToVars($otherUserID);
my $permissions = $vars->{'permissions'};
- foreach (@{$user->bless_groups()}) {
- my $id = $$_{'id'};
- my $name = $$_{'name'};
+ foreach my $blessable (@{$user->bless_groups()}) {
+ my $id = $blessable->id;
+ my $name = $blessable->name;
# Change memberships.
my $groupid = $cgi->param("group_$id") || 0;