From a8aac60d1c6043f89d07051e75187a560ffb1806 Mon Sep 17 00:00:00 2001 From: Mac Newbold <newbold@flux.utah.edu> Date: Thu, 27 Feb 2003 22:14:38 +0000 Subject: [PATCH] Fix broken leaders-email-list query. --- www/dbdefs.php3.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/dbdefs.php3.in b/www/dbdefs.php3.in index e3e2309185..560e487c46 100644 --- a/www/dbdefs.php3.in +++ b/www/dbdefs.php3.in @@ -925,7 +925,8 @@ function TBLeaderMailList($pid, $gid) "left join group_membership as gm on gm.uid=u.uid ". "where (trust='". TBDB_TRUSTSTRING_PROJROOT . "' 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; -- GitLab