aboutsummaryrefslogtreecommitdiffstats
path: root/mod/invite.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-25 17:08:32 -0800
committerfriendica <info@friendica.com>2013-12-25 17:08:32 -0800
commit9d9fc6e2dce2bc98f714bd02a12645e1685e1d35 (patch)
treeffe50f17907b86cecd6798d9f015cfac895319c6 /mod/invite.php
parentb7686b2a50f15143a3c5ecb16da023d81ac660cd (diff)
downloadvolse-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.php2
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);