summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-28 10:02:39 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-28 10:02:39 -0400
commita79a860d81369c0208655a9cd2b83dea7785bebf (patch)
treedee942b7790c96d6939471ba1439134d3e4b2b5f /actions
parent7835393c25e26ea31b8ee3ca4f956ff9d209c6cf (diff)
parent87bc612778932748d5b638af4c45493435c404d4 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'actions')
-rw-r--r--actions/invite.php2
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".