diff options
author | mkanat%bugzilla.org <> | 2008-08-20 04:32:36 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-08-20 04:32:36 +0200 |
commit | da8a6f8b53f16756e88ec1bb378b2fd29baf9a5b (patch) | |
tree | fb0497929d316dbb0cee629e21b605e3c6734d9d /userprefs.cgi | |
parent | 8345701835066f68fc66f4177be57d19db6899d6 (diff) | |
download | bugzilla-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 '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 { |