forked from science-ation/science-ation
Don't include deactivated judges in the judge list
This commit is contained in:
parent
56eb43431c
commit
496c0400aa
@ -218,6 +218,7 @@ function judges_load_all()
|
|||||||
while($i = mysql_fetch_assoc($r)) {
|
while($i = mysql_fetch_assoc($r)) {
|
||||||
$u = user_load($i['id']);
|
$u = user_load($i['id']);
|
||||||
if($u['judge_complete'] == 'no') continue;
|
if($u['judge_complete'] == 'no') continue;
|
||||||
|
if($u['judge_active'] == 'no') continue;
|
||||||
|
|
||||||
$ret[$i['id']] = $u;
|
$ret[$i['id']] = $u;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user