Fix #632 inconsistent application of view count option

This commit is contained in:
Kijin Sung 2016-11-08 22:17:31 +09:00
parent 4d22112582
commit b0ad6b3027
3 changed files with 56 additions and 41 deletions

View file

@ -928,7 +928,6 @@ class documentModel extends document
$config = $oModuleModel->getModuleConfig('document');
if(!$config) $config = new stdClass();
if(!$config->view_count_option) $config->view_count_option = 'once';
$GLOBALS['__document_config__'] = $config;
}
return $GLOBALS['__document_config__'];