1
0
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:
e107steved 2010-02-21 16:04:26 +00:00
parent 0488a2b70c
commit b58eddeda5

View File

@ -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;