Fixed an problem in getUsersNotIn which was causing the wrong users to be returned.

This commit is contained in:
Frank Dillon 2008-09-27 12:18:43 +00:00
parent 960f6cd0e3
commit a253c67018

View file

@ -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;
}