From e58b3a92dc5efe5e05c28ca5fbd72fa6de80afde Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 24 Jun 2008 09:09:30 +0000 Subject: [PATCH] =?UTF-8?q?document/comment=EC=9D=98=20ip=20=EC=A3=BC?= =?UTF-8?q?=EC=86=8C=20=EB=85=B8=EC=B6=9C=EC=8B=9C=20A=ED=81=B4=EB=9E=98?= =?UTF-8?q?=EC=8A=A4=EC=9D=98=20=EC=88=AB=EC=9E=90=EB=A5=BC=20=EA=B0=90?= =?UTF-8?q?=EC=B6=9C=EB=95=8C=20=ED=91=9C=EC=8B=9C=EA=B0=80=20=EC=9E=98?= =?UTF-8?q?=EB=AA=BB=EB=90=98=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=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@4324 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/comment/comment.item.php | 2 +- modules/document/document.item.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index bd7389ff8..ad667ba07 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -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() { diff --git a/modules/document/document.item.php b/modules/document/document.item.php index d572e2dcf..76b1e7863 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -173,7 +173,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')); }