Fixed a couple of unreported bugs.

This commit is contained in:
JT Smith 2002-12-04 04:05:23 +00:00
parent 54cf3b1d29
commit 8943c7df58
4 changed files with 6 additions and 22 deletions

View file

@ -262,7 +262,7 @@ sub isInGroup {
}
}
### Check for groups of groups.
@data = WebGUI::SQL->buildArray("select groupId from groupGroupings where inGroup=$gid");
@data = WebGUI::SQL->buildArray("select groupId from groupGroupings where inGroup='$gid'");
foreach $groupId (@data) {
$session{isInGroup}{$groupId} = isInGroup($groupId, $uid);
if ($session{isInGroup}{$groupId}) {