@ -4701,7 +4701,7 @@ class Agenda
'backgroundColor' => $this->event_personal_color,
'editable' => false,
'sent_to' => get_lang('Me'),
'type' => 'session',
'type' => 'session_subscription',
'start' => $sessionInfo['display_start_date'],
'start_date_localtime' => $sessionInfo['display_start_date']
? $this->formatEventDate($sessionInfo['display_start_date'])
@ -881,7 +881,7 @@ $(document).ready(function() {
};
{% endif %}
if ('session' === calEvent.type) {
if ('session_subscription' === calEvent.type) {
buttons["{{ "GoToCourse"|get_lang }}"] = function() {
window.location.href = calEvent.course_url;