mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Prevent deleted groups from being included in level integration
This commit is contained in:
parent
a8de6048ac
commit
1cd544fb95
1 changed files with 2 additions and 5 deletions
|
|
@ -71,6 +71,7 @@ class pointAdminController extends point
|
|||
|
||||
$oMemberModel = getModel('member');
|
||||
$group_list = $oMemberModel->getGroups();
|
||||
$config->point_group = array();
|
||||
|
||||
// Per-level group configurations
|
||||
foreach($group_list as $group)
|
||||
|
|
@ -95,10 +96,6 @@ class pointAdminController extends point
|
|||
}
|
||||
$config->point_group[$group_srl] = $args->{'point_group_'.$group_srl};
|
||||
}
|
||||
else
|
||||
{
|
||||
unset($config->point_group[$group_srl]);
|
||||
}
|
||||
}
|
||||
|
||||
$config->group_reset = $args->group_reset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue