그누보드 5.0.25 보안패치 및 수정내역 적용

This commit is contained in:
chicpro
2014-12-17 10:14:29 +09:00
parent 244b8ae819
commit 87adbf0f8d
5 changed files with 7 additions and 7 deletions

View File

@ -115,7 +115,7 @@ function prohibit_mb_email($reg_mb_email)
list($id, $domain) = explode("@", $reg_mb_email);
$email_domains = explode("\n", trim($config['cf_prohibit_email']));
for ($i=0; $i<count($email_domains); $i++) {
if (strtolower($domain) == strtolower($email_domains[$i]))
if (strtolower(settype($domain, "string")) == strtolower(settype($email_domains[$i], "string")))
return "$domain 메일은 사용할 수 없습니다.";
}
return "";