aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Invite.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-16 20:07:34 +0000
committerMario <mario@mariovavti.com>2021-10-16 20:07:34 +0000
commit8b542c250ad563e29108ac12c805ef1e7e7a60e2 (patch)
treee3dc6a5bc4b2ce078f91ec7dc3eed8850a8ecf5d /Zotlabs/Module/Invite.php
parent55237683d248b35c54127e90db6515481efbb650 (diff)
downloadvolse-hubzilla-8b542c250ad563e29108ac12c805ef1e7e7a60e2.tar.gz
volse-hubzilla-8b542c250ad563e29108ac12c805ef1e7e7a60e2.tar.bz2
volse-hubzilla-8b542c250ad563e29108ac12c805ef1e7e7a60e2.zip
mod invite: skip the pre-check for valid email
Diffstat (limited to 'Zotlabs/Module/Invite.php')
-rw-r--r--Zotlabs/Module/Invite.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php
index 40f972385..76341d789 100644
--- a/Zotlabs/Module/Invite.php
+++ b/Zotlabs/Module/Invite.php
@@ -129,11 +129,11 @@ class Invite extends Controller {
if(! $recip) continue;
// see if we have an email address who@domain.tld
- if (!preg_match('/^.{2,64}\@[a-z0-9.-]{4,32}\.[a-z]{2,12}$/', $recip)) {
- $feedbk .= 'ZAI0203E ' . ($n+1) . ': ' . sprintf( t('(%s) : Not a valid email address'), $recip) . $eol;
- $ko++;
- continue;
- }
+ //if (!preg_match('/^.{2,64}\@[a-z0-9.-]{2,32}\.[a-z]{2,12}$/', $recip)) {
+ //$feedbk .= 'ZAI0203E ' . ($n+1) . ': ' . sprintf( t('(%s) : Not a valid email address'), $recip) . $eol;
+ //$ko++;
+ //continue;
+ //}
if(! validate_email($recip)) {
$feedbk .= 'ZAI0204E ' . ($n+1) . ': ' . sprintf( t('(%s) : Not a real email address'), $recip) . $eol;
$ko++;