From cfc530276b4d473495dfbaa398f5c739ed6e0f5e Mon Sep 17 00:00:00 2001 From: ngleader Date: Fri, 22 Jan 2010 06:14:34 +0000 Subject: [PATCH] =?UTF-8?q?#18634871=20comment=20getPermanentUrl()=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7230 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/comment/comment.item.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'); }