Merge branch 'master' of github.com:easysoft/zentaopms

This commit is contained in:
wangyidong
2018-10-25 09:33:38 +08:00
+1 -1
View File
@@ -708,7 +708,7 @@ class docModel extends model
$moduleOptionMenu = $this->loadModel('tree')->getOptionMenu($libID, 'doc', $startModuleID = 0);
$this->config->doc->search['params']['module']['values'] = $moduleOptionMenu;
if($type == 'index' || $type == 'objectLibs')
if($type == 'index' || $type == 'objectLibs' || $libID == 0)
{
unset($this->config->doc->search['fields']['module']);
unset($this->config->doc->search['fields']['lib']);