Dont bail out on empty judge teams

This commit is contained in:
james 2006-03-16 20:15:50 +00:00
parent 2ad2b58233
commit cfd6fdf637

View File

@ -68,6 +68,8 @@
$rep->heading($team['name']." (".$team['num'].")");
$memberlist="";
if(count($team['members']))
{
foreach($team['members'] AS $member)
{
$memberlist.=$member['firstname']." ".$member['lastname'];
@ -76,6 +78,7 @@
$memberlist.=", ";
}
$memberlist=substr($memberlist,0,-2);
}
$rep->addText($memberlist);
$rep->nextLine();