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:
james 2005-03-09 23:29:00 +00:00
parent 26f6e8ffef
commit f89b130fd3

View File

@ -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>";