forked from science-ation/science-ation
only show the judges in the list if their firstname and lastname is set
this is a bit of a workaround, there should be a "complete" flag somewhere that is set/unset as the judges go through their profile and this should only query those that are complete
This commit is contained in:
parent
26f6e8ffef
commit
f89b130fd3
@ -152,7 +152,8 @@ function delbuttonclicked(team_id,team_num,judge)
|
||||
|
||||
while($r=mysql_fetch_object($q))
|
||||
{
|
||||
echo "<option value=\"$r->id\">$r->firstname $r->lastname</option>\n";
|
||||
if($r->firstname && $r->lastname)
|
||||
echo "<option value=\"$r->id\">$r->firstname $r->lastname</option>\n";
|
||||
}
|
||||
|
||||
echo "</select>";
|
||||
|
Loading…
Reference in New Issue
Block a user