Completed
Pull Request — master (#54)
by
unknown
05:07
created
src/AfriCC/EPP/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 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_UTS46);
331
+        $ascii_email = substr($email, 0, $pos).'@'.idn_to_ascii(substr($email, $pos + 1), 0, INTL_IDNA_VARIANT_UTS46);
332 332
 
333 333
         return (bool) filter_var($ascii_email, FILTER_VALIDATE_EMAIL);
334 334
     }
Please login to merge, or discard this patch.