* Fix bug.

This commit is contained in:
leiyong
2021-02-07 17:33:08 +08:00
parent 86605772b0
commit 4bc4aac3be
+1 -1
View File
@@ -950,7 +950,7 @@ class doc extends control
$crumb .= html::a(inlink('objectLibs', "type=$type&objectID=$objectID"), $object->name);
$productID = $type == 'product' ? $objectID : 0;
$projectID = $type == 'project' ? $objectID : 0;
$this->doc->setMenu($type, $objectID, 0, $productID, $projectID, $crumb);
$this->doc->setMenu($type, 0, 0, $productID, $projectID, $crumb);
}
/* Set Custom. */