X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontact%2Fsrc%2FController%2FContactController.php;h=35655342f62c6af3df258d3fd25f77fde1d2bfff;hb=refs%2Fheads%2Ft2;hp=b8b69d5f19a5f93c42af0f9b77b32423054d7f9b;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/contact/src/Controller/ContactController.php b/web/core/modules/contact/src/Controller/ContactController.php index b8b69d5f1..35655342f 100644 --- a/web/core/modules/contact/src/Controller/ContactController.php +++ b/web/core/modules/contact/src/Controller/ContactController.php @@ -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. Add one or more forms .', [ - ':add' => $this->url('contact.form_add')]), 'error'); + ':add' => $this->url('contact.form_add'), + ]), 'error'); return []; } else {