Commit 0568e72b authored by Leigh Stoller's avatar Leigh Stoller

Until all code converted, must keep using the uid, not the uid_idx.

parent 01f12db9
......@@ -754,7 +754,7 @@ sub MemberList($$;$$)
}
my $query_result =
DBQueryWarn("select distinct m.uid_idx ".
DBQueryWarn("select distinct m.uid_idx,m.uid ".
" from group_membership as m ".
"where m.pid_idx='$pid_idx' and ".
" m.gid_idx='$gid_idx' $trust_clause");
......@@ -762,9 +762,9 @@ sub MemberList($$;$$)
return -1
if (!$query_result);
while (my ($uid_idx) = $query_result->fetchrow_array()) {
while (my ($uid_idx, $uid) = $query_result->fetchrow_array()) {
if ($uids_only) {
push(@result, $uid_idx);
push(@result, $uid);
next;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment