mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-15 00:12:43 +09:00
Fix #632 inconsistent application of view count option
This commit is contained in:
parent
4d22112582
commit
b0ad6b3027
3 changed files with 56 additions and 41 deletions
|
|
@ -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__'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue