- fix [ 1234051 ] Recursive loops in addGroupsToGroups
- Added handling for an exception in recurring payment processing where there was missing data causing a fatal error.
This commit is contained in:
parent
5fb251d01f
commit
c7781bdd66
4 changed files with 18 additions and 7 deletions
|
|
@ -81,6 +81,10 @@ sub addGroupsToGroups {
|
|||
my $recursive = isIn($toGid, @{getGroupsInGroup($gid,1)});
|
||||
unless ($isIn || $recursive) {
|
||||
WebGUI::SQL->write("insert into groupGroupings (groupId,inGroup) values (".quote($gid).",".quote($toGid).")");
|
||||
my $cache = WebGUI::Cache->new("groups_in_group_".$gid);
|
||||
$cache->delete if (defined $cache);
|
||||
$cache = WebGUI::Cache->new("groups_in_group_".$toGid);
|
||||
$cache->delete if (defined $cache);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue