Skip to content
Snippets Groups Projects
Commit 126bc4a0 authored by Greg Knaddison's avatar Greg Knaddison
Browse files

Issue #3253421 by ShaunLaws, greggles: Incorrect parameter passed to t function

parent f552b48d
No related branches found
No related tags found
No related merge requests found
Pipeline #231617 passed
......@@ -449,7 +449,7 @@ function user_expire_mail($key, &$message, $params): void {
$message['body'][] = t('Because you have not logged in recently, your account at @site_name will be blocked in the near future. If you still use this site, please log in @login_url to avoid having your account blocked.',
[
'@site_name' => $site_name,
'@login_url' => Url::fromRoute('entity.user.canonical', ['user' => \Drupal::currentUser()->id()], ['absolute' => TRUE]),
'@login_url' => Url::fromRoute('entity.user.canonical', ['user' => \Drupal::currentUser()->id()], ['absolute' => TRUE])->toString(),
]
);
$message['body'][] = '';
......
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