* [bug#62571] Fix the bug of file lib in project has no product.

This commit is contained in:
xieqiyu
2025-05-16 16:44:58 +08:00
committed by 刘刚
parent e97d8e1038
commit 6d2a37aca9
+1 -1
View File
@@ -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';