|
@@ -328,9 +328,9 @@ |
|
|
block discarded – undo |
|
328
|
328
|
return false; |
|
329
|
329
|
} |
|
330
|
330
|
|
|
331
|
|
- $ascii_email = substr($email, 0, $pos) . '@' . idn_to_ascii(substr($email, $pos + 1), 0, INTL_IDNA_VARIANT_2003); |
|
|
331
|
+ $ascii_email = substr($email, 0, $pos).'@'.idn_to_ascii(substr($email, $pos + 1), 0, INTL_IDNA_VARIANT_2003); |
|
332
|
332
|
|
|
333
|
|
- return !! filter_var($ascii_email, FILTER_VALIDATE_EMAIL); |
|
|
333
|
+ return !!filter_var($ascii_email, FILTER_VALIDATE_EMAIL); |
|
334
|
334
|
} |
|
335
|
335
|
|
|
336
|
336
|
/** |
Please login to merge, or discard this patch.