From a253c6701886b16e9d64f58b4dc6478f9590ab25 Mon Sep 17 00:00:00 2001 From: Frank Dillon Date: Sat, 27 Sep 2008 12:18:43 +0000 Subject: [PATCH] Fixed an problem in getUsersNotIn which was causing the wrong users to be returned. --- lib/WebGUI/Group.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Group.pm b/lib/WebGUI/Group.pm index a4da349de..b06ff419e 100755 --- a/lib/WebGUI/Group.pm +++ b/lib/WebGUI/Group.pm @@ -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; }