* Fix project doc display.

This commit is contained in:
Yagami
2018-10-19 14:18:45 +08:00
parent 29ae62225a
commit 99038ca227
+1 -1
View File
@@ -153,7 +153,7 @@ class doc extends control
}
$attachLibs = array();
if(!empty($lib) and (!empty($lib->product) or !empty($lib->project)))
if(!empty($lib) and (!empty($lib->product) or !empty($lib->project)) and $browseType != 'bymodule')
{
$count = $this->dao->select('count(*) as count')->from(TABLE_DOCLIB)->where('project')->eq($lib->project)->andWhere('product')->eq($lib->product)->fetch('count');
if($count == 1)