diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-27 16:02:03 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-27 16:02:03 -0400 |
commit | e804b2a500959289e233cd6ca80979c40400d9a0 (patch) | |
tree | 5c08ca3491d31eb6a42a8bd1f22e56a5c35a9926 /actions | |
parent | 5caa90c6e73655574aa6846fb4b2552d06f67118 (diff) |
trim the subject line of invite emails
Thanks semjaza
http://laconi.ca/trac/ticket/1746
Diffstat (limited to 'actions')
-rw-r--r-- | actions/invite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/invite.php b/actions/invite.php index bdea4807d..26c951ed2 100644 --- a/actions/invite.php +++ b/actions/invite.php @@ -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". |