#19357171 에서 지적된 오류 수정.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7998 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flourscent 2010-12-28 01:28:16 +00:00
parent 00b1242564
commit 274be167d2

View file

@ -566,7 +566,7 @@
if($_SESSION['readed_document'][$document_srl]) return false;
// 글의 작성 ip와 현재 접속자의 ip가 동일하면 패스
if($document->ipaddress == $_SERVER['REMOTE_ADDR']) {
if($oDocument->get('ipaddress') == $_SERVER['REMOTE_ADDR']) {
$_SESSION['readed_document'][$document_srl] = true;
return false;
}