diff options
author | mkanat%bugzilla.org <> | 2008-08-20 02:32:36 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-08-20 02:32:36 +0000 |
commit | da8a6f8b53f16756e88ec1bb378b2fd29baf9a5b (patch) | |
tree | fb0497929d316dbb0cee629e21b605e3c6734d9d /userprefs.cgi | |
parent | Bug 437005: Add hook to colchange.cgi to add column(s) to buglist (diff) | |
download | bugzilla-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-x | userprefs.cgi | 2 |
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 { |