Made upcoming concert box only show up when there are any upcoming concerts.

https://what.cd/forums.php?action=viewthread&threadid=193262
This commit is contained in:
Tiago Dias 2014-09-07 15:04:00 +01:00
parent dd3fb12155
commit fde0f2b1f3

View File

@ -21,6 +21,8 @@
echo '</ul>'; echo '</ul>';
} }
$Concerts .= ob_get_clean(); $Concerts .= ob_get_clean();
if isset($ArtistEvents['events']['event']) {
?> ?>
<div class="box"> <div class="box">
@ -33,6 +35,8 @@
</div> </div>
</div> </div>
<?}?>
<? <?
function make_concert_link($Event) { function make_concert_link($Event) {
// The event doesn't have a start date (this should never happen) // The event doesn't have a start date (this should never happen)