Commit 4e745993 authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Fix event attendance mode again

parent b6cdee4e
......@@ -7710,7 +7710,7 @@ class Layout
if($event['link']!='') {
$location['url'] = $event['link'];
}
$ld['eventAttendanceMode'] = 'online';
$ld['eventAttendanceMode'] = 'OnlineEventAttendanceMode';
} else {
$location['@type'] = 'Place';
$location['name'] = $event['place'];
......@@ -7722,7 +7722,7 @@ class Layout
if($event['place_details']['xvalue']!='') {
$location['streetAddress'] = $event['place_details']['xvalue'];
}
$ld['eventAttendanceMode'] = 'offline';
$ld['eventAttendanceMode'] = 'OfflineEventAttendanceMode';
}
$ld['location'] = $location;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment