Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

게시글 관리를 통해 쪽지 보낼시 내용 중복 #756

Closed
devdho opened this issue May 27, 2014 · 0 comments
Closed

게시글 관리를 통해 쪽지 보낼시 내용 중복 #756

devdho opened this issue May 27, 2014 · 0 comments
Assignees
Milestone

Comments

@devdho
Copy link
Contributor

devdho commented May 27, 2014

게시글 관리를 통해 쪽지 보내기의 내용을 적을 경우 쪽지 내용이 중복되는 오류가 있습니다.

documentController::procDocumentManageCheckedDocument() 에서 쪽지 보내는 부분에 문제가 있는 것 같습니다.

처리가 이루어진 게시글 마다 쪽지가 보내지는 것이라면 $content .= 이 아닌 $content = 로 변경되어야 할 것 같습니다.

수정 전)

$content .= sprintf("<div>%s</div><hr />%s<div style=\"font-weight:bold\">%s</div>%s",$message_content, $purl, $oDocument->getTitleText(), $oDocument->getContent(false, false, false));

수정 후)

$content = sprintf("<div>%s</div><hr />%s<div style=\"font-weight:bold\">%s</div>%s",$message_content, $purl, $oDocument->getTitleText(), $oDocument->getContent(false, false, false));

확인 부탁드립니다.

사용환경: php 5.2.9, mysql 5.1.34, apache 2.2.3, XE 1.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants