fix PHP syntax error

This commit is contained in:
Martin Cech 2015-09-17 14:42:05 -04:00
parent d7eb8c6812
commit 963cfd00f7

View File

@ -27,7 +27,7 @@ function is_temp_mail($mail) {
$list = file_get_contents ('disposable_email_blacklist.conf');
$mail_domains_ko = explode("\n", $list);
foreach($mail_domains_ko as $ko_mail) {
list(,$mail_domain) = explode('@',$mail);
list($mail_address, $mail_domain) = explode('@',$mail);
if(strcasecmp($mail_domain, $ko_mail) == 0){
return true;
}