From 99038ca227c146b77ac1b8d28fbc8d093f36b05d Mon Sep 17 00:00:00 2001 From: Yagami Date: Fri, 19 Oct 2018 14:18:45 +0800 Subject: [PATCH] * Fix project doc display. --- module/doc/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/control.php b/module/doc/control.php index 34ad3e154e..1d84bc47cb 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -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)