Commit 2e5fcdf5 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to user search; exclude archived users.

parent 4350e303
<?php
#
# Copyright (c) 2000-2017 University of Utah and the Flux Group.
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -73,7 +73,8 @@ function Do_SearchUsers()
"where (uid like '$safe_text' or ".
" usr_affil like '$safe_text' or ".
" LCASE(usr_email) like '$safe_text' or ".
" usr_name like '$safe_text') ".
" usr_name like '$safe_text') and ".
" status!='archived' ".
"order by uid");
while ($row = mysql_fetch_array($query_result)) {
......
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