mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
#279 이메일을 체크할 때 항상 대소문자 구분 없이 체크하도록 변경
This commit is contained in:
parent
07db963a30
commit
b3dfb1a051
3 changed files with 25 additions and 3 deletions
|
|
@ -265,8 +265,19 @@ class memberModel extends member
|
|||
if(!$email_address) return;
|
||||
|
||||
$args = new stdClass();
|
||||
$args->email_address = $email_address;
|
||||
$output = executeQuery('member.getMemberInfoByEmailAddress', $args);
|
||||
|
||||
$db_info = Context::getDBInfo ();
|
||||
if($db_info->master_db['db_type'] == "cubrid")
|
||||
{
|
||||
$args->email_address = strtolower($email_address);
|
||||
$output = executeQuery('member.getMemberInfoByEmailAddressForCubrid', $args);
|
||||
}
|
||||
else
|
||||
{
|
||||
$args->email_address = $email_address;
|
||||
$output = executeQuery('member.getMemberInfoByEmailAddress', $args);
|
||||
}
|
||||
|
||||
if(!$output->toBool()) return $output;
|
||||
if(!$output->data) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue