Skip to content

Commit b9fa862

Browse files
festival: Fix showing presenter name in timetable
This still referred to the (non-existent) 'artist' attribute, which was used in the original festival implementation, but renamed to 'name' when the code was integrated into Hypha.
1 parent e86ed8b commit b9fa862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/datatypes/festival.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ function showLineup() {
676676
function buildContribution($contribution) {
677677
global $hyphaUrl, $hyphaContentLanguage;
678678
$html = '<div class="infoact">';
679-
// artist and title
679+
// name and title
680680
$id = $contribution->getAttribute('xml:id');
681681
$url = $hyphaUrl . $hyphaContentLanguage . '/' . $this->pagename . '/lineup#' . $id;
682682
$editurl = $hyphaContentLanguage .'/'.$this->pagename.'/contribute/'.$contribution->getAttribute('xml:id');
@@ -803,7 +803,7 @@ function showTimetable() {
803803
$events = $contribution->getElementsByTagName('event');
804804
foreach($events as $event) {
805805
if ($event->getAttribute('day') == $day->getId() && $event->getAttribute('location') == $location->getId())
806-
$locevents[] = [$this->timetocols($daybegin, $event->getAttribute('begin')), $this->timetocols($daybegin, $event->getAttribute('end')), $contribution->getAttribute('artist'), $contribution->getId(), $contribution->getAttribute('title')];
806+
$locevents[] = [$this->timetocols($daybegin, $event->getAttribute('begin')), $this->timetocols($daybegin, $event->getAttribute('end')), $contribution->getAttribute('name'), $contribution->getId(), $contribution->getAttribute('title')];
807807
}
808808
}
809809

0 commit comments

Comments
 (0)