From 04ea61c0a8ceb32f9e08fc4f65085f26f39f4514 Mon Sep 17 00:00:00 2001
From: Robert Ricci <ricci@cs.utah.edu>
Date: Mon, 1 Jul 2002 19:08:18 +0000
Subject: [PATCH] Change criteria for showing up on this page, so that users
 that have already been approved into another project will show up.

---
 www/approveuser_form.php3 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/approveuser_form.php3 b/www/approveuser_form.php3
index 40aa02fefa..99fff4e28d 100755
--- a/www/approveuser_form.php3
+++ b/www/approveuser_form.php3
@@ -119,7 +119,8 @@ $query_result =
 		 "ON g.pid=authed.pid and g.gid=authed.gid and ".
 		 "   g.uid!='$auth_usr' and g.trust='none' ".
 		 "left join users as u on u.uid=g.uid ".
-		 "WHERE u.status='" . TBDB_USERSTATUS_UNAPPROVED . "' and ".
+		 "WHERE u.status!='" . TBDB_USERSTATUS_UNVERIFIED . "' and ".
+		 "u.status!='" . TBDB_USERSTATUS_NEWUSER . "' and ".
 		 "      authed.uid='$auth_usr' and ".
 		 "      (authed.trust='group_root' or ".
 		 "       authed.trust='project_root') ".
-- 
GitLab