This commit is contained in:
songchenxuan
2023-06-20 15:53:27 +08:00
parent 6144903431
commit 1e90302e04
2 changed files with 0 additions and 11 deletions
-4
View File
@@ -411,10 +411,6 @@ class doc extends control
$docID = $docResult['id'];
$files = zget($docResult, 'files', '');
$lib = $this->doc->getLibByID($libID);
if($docResult['status'] == 'exists')
{
return $this->send(array('result' => 'fail', 'message' => sprintf($this->lang->duplicate, $this->lang->doc->common), 'locate' => $this->createLink('doc', 'view', "docID=$docID")));
}
$fileAction = '';
if(!empty($files)) $fileAction = $this->lang->addFiles . join(',', $files) . "\n";