#18634871 comment getPermanentUrl() 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7230 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-01-22 06:14:34 +00:00
parent ba1a67f452
commit cfc530276b

View file

@ -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');
}