From 6d2a37aca9c0b94153a85a5e4ba7afb9b2bdffc2 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 16 May 2025 10:03:37 +0800 Subject: [PATCH] * [bug#62571] Fix the bug of file lib in project has no product. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index ddc700cf49..fc78499f2d 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2369,7 +2369,7 @@ class docModel extends model foreach($files as $file) { $this->file->setFileWebAndRealPaths($file); - if($file->objectType == 'story') + if($file->objectType == 'story' && $type == 'product') { if(in_array($file->objectID, $epicIdList)) $file->objectType = 'epic'; if(in_array($file->objectID, $requirementIdList)) $file->objectType = 'requirement';