* fix bug for show doc.
This commit is contained in:
@@ -514,7 +514,8 @@ class docModel extends model
|
||||
->where('deleted')->eq(0)
|
||||
->beginIF($this->config->doc->notArticleType)->andWhere('type')->notIN($this->config->doc->notArticleType)->fi()
|
||||
->beginIF($libID)->andWhere('lib')->in($libID)->fi()
|
||||
->beginIF(!empty($module) or strpos($this->config->doc->custom->showLibs, 'children') !== false)->andWhere('module')->in($module)->fi()
|
||||
->beginIF(strpos($this->config->doc->custom->showLibs, 'children') === false)->andWhere('module')->in($module)->fi()
|
||||
->beginIF(!empty($module) and strpos($this->config->doc->custom->showLibs, 'children') !== false)->andWhere('module')->in($module)->fi()
|
||||
->query();
|
||||
|
||||
$docIdList = array();
|
||||
|
||||
Reference in New Issue
Block a user