From e804b2a500959289e233cd6ca80979c40400d9a0 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Mon, 27 Jul 2009 16:02:03 -0400 Subject: trim the subject line of invite emails Thanks semjaza http://laconi.ca/trac/ticket/1746 --- actions/invite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/invite.php') 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". -- cgit v1.2.3-54-g00ecf