From 9d9fc6e2dce2bc98f714bd02a12645e1685e1d35 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 25 Dec 2013 17:08:32 -0800 Subject: mod_invite - don't generate errors for email addresses consisting of blank lines --- mod/invite.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod') diff --git a/mod/invite.php b/mod/invite.php index e23ed7d2a..9e37d1e6d 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -42,6 +42,8 @@ function invite_post(&$a) { foreach($recips as $recip) { $recip = trim($recip); + if(! $recip) + continue; if(! valid_email($recip)) { notice( sprintf( t('%s : Not a valid email address.'), $recip) . EOL); -- cgit v1.2.3