Set a default for groups in addGroupsToGroupSave. Fixes bug #11203
This commit is contained in:
parent
274e82e1fa
commit
c10363bcf6
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
7.8.5
|
7.8.5
|
||||||
- The captcha form control had it's built in styles removed in favor of two classes: "wg-captchaForm" and "wg-captchaImage"
|
- 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 #11134: Tree Navigation menu colapses sub items of current page
|
||||||
|
- fixed #11203: Manage groups in group: everyone added on save
|
||||||
|
|
||||||
7.8.4
|
7.8.4
|
||||||
- Fixed a compatibility problem between WRE and new Spectre code.
|
- Fixed a compatibility problem between WRE and new Spectre code.
|
||||||
|
|
|
||||||
|
|
@ -292,7 +292,7 @@ sub www_addGroupsToGroupSave {
|
||||||
my $session = shift;
|
my $session = shift;
|
||||||
return $session->privilege->adminOnly() unless (canEditGroup($session,$session->form->process("gid")) && $session->form->validToken);
|
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 $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);
|
$group->addGroups(\@groups);
|
||||||
return www_manageGroupsInGroup($session);
|
return www_manageGroupsInGroup($session);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue