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,6 +152,7 @@ function delbuttonclicked(team_id,team_num,judge)
|
|||||||
|
|
||||||
while($r=mysql_fetch_object($q))
|
while($r=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
|
if($r->firstname && $r->lastname)
|
||||||
echo "<option value=\"$r->id\">$r->firstname $r->lastname</option>\n";
|
echo "<option value=\"$r->id\">$r->firstname $r->lastname</option>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user