diff --git a/inc/notificationtargetformanswer.class.php b/inc/notificationtargetformanswer.class.php index c598f947e..d9bfa962e 100644 --- a/inc/notificationtargetformanswer.class.php +++ b/inc/notificationtargetformanswer.class.php @@ -70,6 +70,13 @@ public function addDataForTemplate($event, $options = []) { $this->data['##formcreator.validation_comment##'] = $this->obj->fields['comment']; $this->data['##formcreator.validation_link##'] = $link; $this->data['##formcreator.request_id##'] = $this->obj->fields['id']; + + $this->getTags(); + foreach ($this->tag_descriptions[NotificationTarget::TAG_LANGUAGE] as $tag => $values) { + if (!isset($this->data[$tag])) { + $this->data[$tag] = $values['label']; + } + } } public function getTags() {