document/comment의 ip 주소 노출시 A클래스의 숫자를 감출때 표시가 잘못되는 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4324 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-06-24 09:09:30 +00:00
parent 6f96e28d07
commit e58b3a92dc
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@
function getIpaddress() {
if($this->isGranted()) return $this->get('ipaddress');
return preg_replace('/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/','*.$1.$2.$3', $this->get('ipaddress'));
return preg_replace('/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/','*.$2.$3.$4', $this->get('ipaddress'));
}
function isExistsHomepage() {