trim the subject line of invite emails
Thanks semjaza http://laconi.ca/trac/ticket/1746
This commit is contained in:
parent
5caa90c6e7
commit
e804b2a500
|
@ -216,7 +216,7 @@ class InviteAction extends CurrentUserDesignAction
|
|||
$recipients = array($email);
|
||||
|
||||
$headers['From'] = mail_notify_from();
|
||||
$headers['To'] = $email;
|
||||
$headers['To'] = trim($email);
|
||||
$headers['Subject'] = sprintf(_('%1$s has invited you to join them on %2$s'), $bestname, $sitename);
|
||||
|
||||
$body = sprintf(_("%1\$s has invited you to join them on %2\$s (%3\$s).\n\n".
|
||||
|
|
Loading…
Reference in New Issue
Block a user