mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Bugtracker #4915 - correct email filter
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user