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

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

parent 01f12db9
...@@ -754,7 +754,7 @@ sub MemberList($$;$$) ...@@ -754,7 +754,7 @@ sub MemberList($$;$$)
} }
my $query_result = my $query_result =
DBQueryWarn("select distinct m.uid_idx ". DBQueryWarn("select distinct m.uid_idx,m.uid ".
" from group_membership as m ". " from group_membership as m ".
"where m.pid_idx='$pid_idx' and ". "where m.pid_idx='$pid_idx' and ".
" m.gid_idx='$gid_idx' $trust_clause"); " m.gid_idx='$gid_idx' $trust_clause");
...@@ -762,9 +762,9 @@ sub MemberList($$;$$) ...@@ -762,9 +762,9 @@ sub MemberList($$;$$)
return -1 return -1
if (!$query_result); if (!$query_result);
while (my ($uid_idx) = $query_result->fetchrow_array()) { while (my ($uid_idx, $uid) = $query_result->fetchrow_array()) {
if ($uids_only) { if ($uids_only) {
push(@result, $uid_idx); push(@result, $uid);
next; 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