Show the organisation of each speaker, if provided
This commit is contained in:
parent
8ad92a5fa3
commit
9f3dc1a1aa
|
@ -284,8 +284,10 @@ function parseData($config, $data) {
|
|||
continue;
|
||||
}
|
||||
|
||||
$name = $data['speakers'][$uid]['first_name'] . ' ' . $data['speakers'][$uid]['last_name'];
|
||||
$spk[] = '<a class="vt-p" href="#' . $name . '">' . $name . '</a>';
|
||||
$speaker = $data['speakers'][$uid];
|
||||
$name = $speaker['first_name'] . ' ' . $speaker['last_name'];
|
||||
$organisation = empty($speaker['organisation']) ? '' : (' /' . $speaker['organisation'] . '/');
|
||||
$spk[] = '<a class="vt-p" href="#' . $name . '">' . $name . '</a>' . $organisation;
|
||||
}
|
||||
|
||||
$speakers = implode (', ', $spk);
|
||||
|
|
Loading…
Reference in New Issue