aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-20 02:32:36 +0000
committermkanat%bugzilla.org <>2008-08-20 02:32:36 +0000
commitda8a6f8b53f16756e88ec1bb378b2fd29baf9a5b (patch)
treefb0497929d316dbb0cee629e21b605e3c6734d9d /userprefs.cgi
parentBug 437005: Add hook to colchange.cgi to add column(s) to buglist (diff)
downloadbugzilla-da8a6f8b53f16756e88ec1bb378b2fd29baf9a5b.tar.gz
bugzilla-da8a6f8b53f16756e88ec1bb378b2fd29baf9a5b.tar.bz2
bugzilla-da8a6f8b53f16756e88ec1bb378b2fd29baf9a5b.zip
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 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index b281fd214..3ccfe820a 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -400,7 +400,7 @@ sub DoSavedSearches {
$vars->{'queryshare_groups'} =
Bugzilla::Group->new_from_list($user->queryshare_groups);
}
- $vars->{'bless_group_ids'} = [map {$_->{'id'}} @{$user->bless_groups}];
+ $vars->{'bless_group_ids'} = [map { $_->id } @{$user->bless_groups}];
}
sub SaveSavedSearches {