diff --git a/sections/artist/concerts.php b/sections/artist/concerts.php index 6ff8bc8b..a69894ee 100644 --- a/sections/artist/concerts.php +++ b/sections/artist/concerts.php @@ -1,28 +1,36 @@ +log_var($ArtistEvents); +if ($ArtistEvents === false) { // Something went wrong + echo '
An error occurred when retrieving concert info.
'; +} elseif (!isset($ArtistEvents['events']['event'])) { // No upcoming events + echo '
This artist has no upcoming concerts.
'; + $Hidden = true; +} else { + echo ''; +} +$Concerts .= ob_get_clean(); +?> +
 Upcoming concerts [Toggle]
-
-log_var($ArtistEvents); - if ($ArtistEvents === false) { // Something went wrong - echo '
An error occurred when retrieving concert info.
'; - } elseif (!isset($ArtistEvents['events']['event'])) { // No upcoming events - echo '
This artist has no upcoming concerts.
'; - } else { - echo ''; - } -?> +
> +
@@ -47,9 +55,7 @@ function make_concert_link($Event)
  • - [Go to thread]
  • -