mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 01:42:14 +09:00
비밀글일 경우 권한이 없으면 조회수가 올라가지 않도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4081 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dbb40b37c7
commit
b95fe51266
1 changed files with 2 additions and 2 deletions
|
|
@ -140,8 +140,8 @@
|
|||
// 브라우저 타이틀에 글의 제목을 추가
|
||||
Context::addBrowserTitle($oDocument->getTitleText());
|
||||
|
||||
// 조회수 증가
|
||||
$oDocument->updateReadedCount();
|
||||
// 조회수 증가 (비밀글일 경우 권한 체크)
|
||||
if(!$oDocument->isSecret() || $oDocument->isGranted()) $oDocument->updateReadedCount();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue