Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / contact / src / Controller / ContactController.php
index b8b69d5f19a5f93c42af0f9b77b32423054d7f9b..35655342f62c6af3df258d3fd25f77fde1d2bfff 100644 (file)
@@ -65,7 +65,8 @@ class ContactController extends ControllerBase {
       if (empty($contact_form)) {
         if ($this->currentUser()->hasPermission('administer contact forms')) {
           drupal_set_message($this->t('The contact form has not been configured. <a href=":add">Add one or more forms</a> .', [
-            ':add' => $this->url('contact.form_add')]), 'error');
+            ':add' => $this->url('contact.form_add'),
+          ]), 'error');
           return [];
         }
         else {