issue 2488 reset all group (include default group).

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11450 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-09-24 02:40:34 +00:00
parent 3084f3ebed
commit 8108ae0071
4 changed files with 8 additions and 3 deletions

View file

@ -533,8 +533,9 @@
}
// Delete the group of a level which is higher than the current level
foreach($point_group as $group_srl => $target_level) {
if($target_level > $level) $del_group_list[] = $group_srl;
if($target_level > $level) $del_group_list[] = $group_srl;
}
$del_group_list[] = $default_group->group_srl;
}
// Grant a new group
else {