diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index a8c36e029..eb505bc66 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -282,9 +282,7 @@ } function getPermanentUrl() { - $url = getUrl('','document_srl',$this->get('document_srl')).'#comment_'.$this->get('comment_srl'); - if(substr($url,0,1)=='/') return substr(Context::getRequestUri(),0,-1).$url; - return $url; + return getFullUrl('','document_srl',$this->get('document_srl')).'#comment_'.$this->get('comment_srl'); }