* Finish task #89141.

This commit is contained in:
liumengyi
2023-03-27 16:31:08 +08:00
parent bdac57b504
commit c09c795850
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1 +1,3 @@
UPDATE `zt_doc` SET `type` = 'text' WHERE `type` = 'url';
UPDATE `zt_doclib` SET `acl` = 'private' WHERE `type` = 'custom' and `acl` = 'custom';
+1 -1
View File
@@ -140,7 +140,7 @@ class doc extends control
$this->action->create('docLib', $libID, 'Created');
if($this->viewType == 'json') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $libID));
return print(js::locate($this->createLink('doc', 'tableContents', "type=$objectType&objectID=$objectID&libID=$libID"), 'parent.parent'));
return print(js::locate($this->createLink('doc', 'tableContents', "type=$type&objectID=$objectID&libID=$libID"), 'parent.parent'));
}
else
{