another edit to fully fix it.
This commit is contained in:
parent
d9e4d1a437
commit
62fdfa2e3f
1 changed files with 1 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ sub addUsersToGroups {
|
|||
($expireOffset) = WebGUI::SQL->quickArray("select expireOffset from groups where groupId=".quote($gid));
|
||||
}
|
||||
foreach my $uid (@{$_[0]}) {
|
||||
next if ($uid eq '1');
|
||||
my ($isIn) = WebGUI::SQL->quickArray("select count(*) from groupings where groupId=".quote($gid)." and userId=".quote($uid));
|
||||
unless ($isIn) {
|
||||
WebGUI::SQL->write("insert into groupings (groupId,userId,expireDate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue