Fixed an problem in getUsersNotIn which was causing the wrong users to be returned.
This commit is contained in:
parent
960f6cd0e3
commit
a253c67018
1 changed files with 1 additions and 1 deletions
|
|
@ -921,7 +921,7 @@ sub getUsersNotIn {
|
|||
and userId not in (select userId from groupings where expireDate > ? and groupId=?)
|
||||
};
|
||||
|
||||
my @users = $self->session->db->buildArray($sql, [$expireTime,$self->getId,$expireTime,$self->getId]);
|
||||
my @users = $self->session->db->buildArray($sql, [$expireTime,$self->getId,$expireTime,$groupId]);
|
||||
return \@users;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue