* Adjust code for add two create btn .

This commit is contained in:
guofeilong
2023-04-10 17:02:45 +08:00
parent ab58e9c244
commit c94b6099d9
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -1211,6 +1211,7 @@ class doc extends control
$this->view->objectType = $objectType;
$this->view->type = $type;
$this->view->libID = $libID;
$this->view->moduleID = $doc->module;
$this->view->lib = isset($libs[$libID]) ? $libs[$libID] : new stdclass();
$this->view->libs = $this->doc->getLibsByObject($type, $objectID);
$this->view->canBeChanged = common::canModify($type, $object); // Determines whether an object is editable.