Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
게시글 등록 메일 이미지 출력 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Jan 7, 2016
1 parent a4cd156 commit 357cfa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bbs/qawrite_update.php
Expand Up @@ -403,7 +403,7 @@
include_once(G5_LIB_PATH.'/mailer.lib.php');

$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 답변 알림 메일';
$content = nl2br(conv_unescape_nl($qa_content));
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));

mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $write['qa_email'], $subject, $content, 1);
}
Expand All @@ -413,7 +413,7 @@
include_once(G5_LIB_PATH.'/mailer.lib.php');

$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 질문 알림 메일';
$content = nl2br(conv_unescape_nl($qa_content));
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));

mailer($config['cf_admin_email_name'], $qa_email, $qaconfig['qa_admin_email'], $subject, $content, 1);
}
Expand Down
2 changes: 1 addition & 1 deletion bbs/write_update.php
Expand Up @@ -607,7 +607,7 @@
else if (strstr($html, 'html2'))
$tmp_html = 2;

$wr_content = conv_content(conv_unescape_nl($wr_content), $tmp_html);
$wr_content = conv_content(conv_unescape_nl(stripslashes($wr_content)), $tmp_html);

$warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'코멘트', 'cu'=>'코멘트 수정' );
$str = $warr[$w];
Expand Down

0 comments on commit 357cfa2

Please sign in to comment.