* [bug#62571] Fix the bug of file lib in project has no product.
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user