Skip to content
Snippets Groups Projects
Commit 1b632da6 authored by Owen Bush's avatar Owen Bush
Browse files

Issue #3295367 by owenbush, jor_kai: AJAX HTTP error

parent d77b58a3
No related branches found
No related tags found
1 merge request!50Issue #3295367: AJAX HTTP error
...@@ -105,7 +105,7 @@ class EventInstanceForm extends ContentEntityForm { ...@@ -105,7 +105,7 @@ class EventInstanceForm extends ContentEntityForm {
'#type' => 'markup', '#type' => 'markup',
'#prefix' => '<p class="event-message">', '#prefix' => '<p class="event-message">',
'#markup' => $this->t('Some of the data for event instances is inherited from the event series that the instance belongs to. @link.', [ '#markup' => $this->t('Some of the data for event instances is inherited from the event series that the instance belongs to. @link.', [
'@link' => $event->getEventSeries()->toLink($this->t('Edit the series'), 'edit-form')->toString(), '@link' => $event->getEventSeries() ? $event->getEventSeries()->toLink($this->t('Edit the series'), 'edit-form')->toString() : '',
]), ]),
'#suffix' => '</p>', '#suffix' => '</p>',
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment