From 4bc4aac3be7aee4e80c729a75ebe1da1ba7cad15 Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Sun, 7 Feb 2021 17:33:08 +0800 Subject: [PATCH] * Fix bug. --- 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 3766809a24..1c70fac799 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -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. */