X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/656d4fe46b13a1264aa77cac6062646f8ac43ec6..ff9e7c39f22c3a65b416c8f00a7a0f1f83e16758:/Command/CalendarCommand.php?ds=sidebyside diff --git a/Command/CalendarCommand.php b/Command/CalendarCommand.php index a783848..2968f48 100644 --- a/Command/CalendarCommand.php +++ b/Command/CalendarCommand.php @@ -354,7 +354,7 @@ class CalendarCommand extends Command { //TODO: replace 'airlibre' with $this->config['calendar']['prefix'] when possible with prefix validating [a-v0-9]{5,} //XXX: see https://developers.google.com/calendar/api/v3/reference/events/insert#id 'id' => $token['prefix'].$sessionId, - 'summary' => $session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_short']), + 'summary' => $session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_title']), #'description' => $markdown->convert(strip_tags($session['p_description'])), 'description' => $description, 'status' => empty($session['a_canceled'])?'confirmed':'cancelled', @@ -395,7 +395,7 @@ class CalendarCommand extends Command { //With updated event if ($session['updated'] >= (new \DateTime($event->getUpdated()))) { //Set summary - $event->setSummary($session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_short'])); + $event->setSummary($session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_title'])); //Set description $event->setDescription($description);