diff options
Diffstat (limited to 'mod')
-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); |