diff --git a/www/approveuser_form.php3 b/www/approveuser_form.php3 index 40aa02fefa8eda3182cb5987e62462dba60391f1..99fff4e28d588a8f1235d7503799fdfc30e5bc04 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') ".