mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Bugtracker #4915 - correct email filter
This commit is contained in:
parent
0488a2b70c
commit
b58eddeda5
@ -427,7 +427,7 @@ class UserHandler
|
||||
if (strpos($tmp,'.') === FALSE) return FALSE;
|
||||
$em = array_reverse(explode('.',$tmp));
|
||||
$line = '';
|
||||
$out = array("='*@.{$tmp}'"); // First element looks for domain as email address
|
||||
$out = array($fieldname."='*@{$tmp}'"); // First element looks for domain as email address
|
||||
foreach ($em as $e)
|
||||
{
|
||||
$line = '.'.$e.$line;
|
||||
|
Loading…
x
Reference in New Issue
Block a user