Commit a8aac60d authored by Mac Newbold's avatar Mac Newbold
Browse files

Fix broken leaders-email-list query.

parent 2e9db1da
......@@ -925,7 +925,8 @@ function TBLeaderMailList($pid, $gid)
"left join group_membership as gm on gm.uid=u.uid ".
"' and pid='$pid') or (trust='". TBDB_TRUSTSTRING_GROUPROOT .
"' and gid='$gid') order by trust DESC, usr_name");
"' and pid='$pid' and gid='$gid') ".
"order by trust DESC, usr_name");
if (mysql_num_rows($query_result) == 0) {
return 0;
Supports Markdown
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