aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Invite.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-11 19:01:04 -0700
committerzotlabs <mike@macgirvin.com>2017-05-11 19:01:04 -0700
commit1de1b58a087afbadb55b7f18b93fb0b502a2de3a (patch)
tree4ccf01cfea90497acca5f58697653ec734b1cc02 /Zotlabs/Module/Invite.php
parent4f577cbdebea44dfedece4eeddb99138d5f02f65 (diff)
downloadvolse-hubzilla-1de1b58a087afbadb55b7f18b93fb0b502a2de3a.tar.gz
volse-hubzilla-1de1b58a087afbadb55b7f18b93fb0b502a2de3a.tar.bz2
volse-hubzilla-1de1b58a087afbadb55b7f18b93fb0b502a2de3a.zip
consolidate email validation checks
Diffstat (limited to 'Zotlabs/Module/Invite.php')
-rw-r--r--Zotlabs/Module/Invite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php
index 6b6f80a31..927e7beae 100644
--- a/Zotlabs/Module/Invite.php
+++ b/Zotlabs/Module/Invite.php
@@ -49,7 +49,7 @@ class Invite extends \Zotlabs\Web\Controller {
if(! $recip)
continue;
- if(! valid_email($recip)) {
+ if(! validate_email($recip)) {
notice( sprintf( t('%s : Not a valid email address.'), $recip) . EOL);
continue;
}