fix div closing

This commit is contained in:
Vasil Kolev 2015-10-19 13:08:29 +03:00 committed by Openfest
parent fea3f414b1
commit c8afec5e41
1 changed files with 2 additions and 1 deletions

View File

@ -135,9 +135,10 @@ foreach ($data['speakers'] as $speaker) {
$fspk[] = '<div class="icons">'; $fspk[] = '<div class="icons">';
foreach ($types as $type => $parm) { foreach ($types as $type => $parm) {
if (!empty($speaker[$type])) { if (!empty($speaker[$type])) {
$fspk[] = '<a href="'. $parm['url'] . $speaker[$type] . '"><i class="' . $parm['class'] . '"></i></a></div>'; $fspk[] = '<a href="'. $parm['url'] . $speaker[$type] . '"><i class="' . $parm['class'] . '"></i></a>';
} }
} }
$fspk[] = '</div>';
$fspk[] = '<p>' . $speaker['biography'] . '</p>'; $fspk[] = '<p>' . $speaker['biography'] . '</p>';
$fspk[] = '</div><div class="separator"></div>'; $fspk[] = '</div><div class="separator"></div>';
} }