잘못된 설정값 변경.

This commit is contained in:
qw5414 2016-01-15 19:41:01 +09:00
parent de13ea21ec
commit 6ff24f89d6
3 changed files with 6 additions and 6 deletions

View file

@ -902,7 +902,7 @@ class documentController extends document
$oDocumentModel = getModel('document');
$config = $oDocumentModel->getDocumentConfig();
if($config->updatecount != 'yes')
if($config->updatecount == 'Y')
{
// Pass if the author's IP address is as same as visitor's.
if($oDocument->get('ipaddress') == $_SERVER['REMOTE_ADDR'] && Context::getSessionStatus())