#55 스팸필터 차단 시 발송되었다는 메시지로 잘못 나오는 문제 수정.

This commit is contained in:
bnu 2013-11-23 19:59:00 +09:00
parent d0a02752e6
commit c2b3933831
3 changed files with 12 additions and 12 deletions

View file

@ -114,8 +114,13 @@ class communicationController extends communication
// send a message
$output = $this->sendMessage($logged_info->member_srl, $receiver_srl, $title, $content);
if(!$output->toBool())
{
return $output;
}
// send an e-mail
if($output->toBool() && $send_mail == 'Y')
if($send_mail == 'Y')
{
$view_url = Context::getRequestUri();
$content = sprintf("%s<br /><br />From : <a href=\"%s\" target=\"_blank\">%s</a>", $content, $view_url, $view_url);