mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Bugtracker #4915 - correct email filter
This commit is contained in:
@@ -427,7 +427,7 @@ class UserHandler
|
|||||||
if (strpos($tmp,'.') === FALSE) return FALSE;
|
if (strpos($tmp,'.') === FALSE) return FALSE;
|
||||||
$em = array_reverse(explode('.',$tmp));
|
$em = array_reverse(explode('.',$tmp));
|
||||||
$line = '';
|
$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)
|
foreach ($em as $e)
|
||||||
{
|
{
|
||||||
$line = '.'.$e.$line;
|
$line = '.'.$e.$line;
|
||||||
|
Reference in New Issue
Block a user