Fix unfilled sprintf code in msg_user_not_confirmed

https://rhymix.org/qna/1905384
This commit is contained in:
Kijin Sung 2025-03-31 23:06:07 +09:00
parent fc2bdd7253
commit a6fbf6e2e5

View file

@ -1792,7 +1792,10 @@ class MemberController extends Member
$chk_args = new stdClass;
$chk_args->member_srl = $member_info->member_srl;
$output = executeQuery('member.chkAuthMail', $chk_args);
if($output->toBool() && $output->data->count != '0') throw new Rhymix\Framework\Exception('msg_user_not_confirmed');
if ($output->toBool() && $output->data->count > 0)
{
throw new Rhymix\Framework\Exception(sprintf('msg_user_not_confirmed', $member_info->email_address));
}
}
// Get password reset method