Skip to content

Commit

Permalink
Set a default for groups in addGroupsToGroupSave. Fixes bug #11203
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Nov 6, 2009
1 parent 274e82e commit c10363b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog/7.x.x.txt
@@ -1,6 +1,7 @@
7.8.5
- The captcha form control had it's built in styles removed in favor of two classes: "wg-captchaForm" and "wg-captchaImage"
- fixed #11134: Tree Navigation menu colapses sub items of current page
- fixed #11203: Manage groups in group: everyone added on save

7.8.4
- Fixed a compatibility problem between WRE and new Spectre code.
Expand Down
2 changes: 1 addition & 1 deletion lib/WebGUI/Operation/Group.pm
Expand Up @@ -292,7 +292,7 @@ sub www_addGroupsToGroupSave {
my $session = shift;
return $session->privilege->adminOnly() unless (canEditGroup($session,$session->form->process("gid")) && $session->form->validToken);
my $group = WebGUI::Group->new($session,$session->form->process("gid"));
my @groups = $session->form->group('groups');
my @groups = $session->form->process('groups', 'group', []);
$group->addGroups(\@groups);
return www_manageGroupsInGroup($session);
}
Expand Down

0 comments on commit c10363b

Please sign in to comment.