Commit 0b9e7c07 authored by Dries's avatar Dries
Browse files

- Patch #265899 by mfb: uri_brief mail token did not support https URLs.

parent bbe2e847
......@@ -2036,7 +2036,7 @@ function user_mail_tokens($account, $language) {
'!site' => variable_get('site_name', 'Drupal'),
'!login_url' => user_pass_reset_url($account),
'!uri' => $base_url,
'!uri_brief' => substr($base_url, strlen('http://')),
'!uri_brief' => preg_replace('!^https?://!', '', $base_url),
'!mailto' => $account->mail,
'!date' => format_date(time(), 'medium', '', NULL, $language->language),
'!login_uri' => url('user', array('absolute' => TRUE, 'language' => $language)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment