diff options
author | friendica <info@friendica.com> | 2013-12-25 17:08:32 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-25 17:08:32 -0800 |
commit | 9d9fc6e2dce2bc98f714bd02a12645e1685e1d35 (patch) | |
tree | ffe50f17907b86cecd6798d9f015cfac895319c6 /mod/invite.php | |
parent | b7686b2a50f15143a3c5ecb16da023d81ac660cd (diff) | |
download | volse-hubzilla-9d9fc6e2dce2bc98f714bd02a12645e1685e1d35.tar.gz volse-hubzilla-9d9fc6e2dce2bc98f714bd02a12645e1685e1d35.tar.bz2 volse-hubzilla-9d9fc6e2dce2bc98f714bd02a12645e1685e1d35.zip |
mod_invite - don't generate errors for email addresses consisting of blank lines
Diffstat (limited to 'mod/invite.php')
-rw-r--r-- | mod/invite.php | 2 |
1 files changed, 2 insertions, 0 deletions
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); |