content 위젯 출력시 item URL에 mid가 포함되도록 개선

This commit is contained in:
conory 2017-09-15 19:29:14 +09:00
parent 345b3bb184
commit 1b5818e73c
2 changed files with 9 additions and 9 deletions

View file

@ -500,7 +500,8 @@ class commentItem extends Object
function getPermanentUrl()
{
return getFullUrl('', 'document_srl', $this->get('document_srl')) . '#comment_' . $this->get('comment_srl');
$mid = getModel('module')->getModuleInfoByModuleSrl($this->get('module_srl'))->mid;
return getFullUrl('', 'mid', $mid, 'document_srl', $this->get('document_srl')) . '#comment_' . $this->get('comment_srl');
}
function hasUploadedFiles()