Skip to content

Commit 0bd96fa

Browse files
committed
Registration: Update e-mail text template for account creation confirmation during registration. Fix missing param to sprintf - refs #7506
1 parent 84aceb3 commit 0bd96fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/main/inc/lib/usermanager.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5668,7 +5668,7 @@ public static function sendUserConfirmationMail(User $user)
56685668
$siteName = api_get_setting('platform.site_name');
56695669
$mailSubject = sprintf(get_lang('Confirm your e-mail on %s'), $siteName);
56705670
$firstName = $user->getFirstname();
5671-
$mailBody = sprintf(get_lang('Hi %s,\n\nTo verify your e-mail and enable your account on %s, please click the link below.'), $firstName)
5671+
$mailBody = sprintf(get_lang('Hi %s,\n\nTo verify your e-mail and enable your account on %s, please click the link below.'), $firstName, $siteName)
56725672
.PHP_EOL
56735673
.Display::url($url, $url)
56745674
.PHP_EOL

0 commit comments

Comments
 (0)