* Fix objectID is undefined bug. the bug #41565.

This commit is contained in:
wangyuting
2023-12-15 15:52:51 +08:00
parent 952f9df7bc
commit 3f56f2c6e4
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ class doc extends control
$objectID = zget($lib, $lib->type, 0);
$libs = $this->doc->getLibs($lib->type, 'withObject', $doc->lib, $objectID);
$this->docZen->setObjectsForEdit($lib->type);
$this->docZen->setObjectsForEdit($lib->type, $objectID);
$this->view->title = $lib->name . $this->lang->colon . $this->lang->doc->edit;
$this->view->doc = $doc;