mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Update api_documents.class.php
This commit is contained in:
committed by
GitHub
parent
d62d24a337
commit
0023850c9a
@@ -468,7 +468,7 @@ class Documents extends DolibarrApi
|
||||
$object = new KnowledgeRecord($this->db);
|
||||
$result = $object->fetch($id, $ref);
|
||||
if (!$result) {
|
||||
throw new RestException(404, 'Expense report not found');
|
||||
throw new RestException(404, 'KM article not found');
|
||||
}
|
||||
|
||||
$upload_dir = $conf->knowledgemanagement->dir_output.'/knowledgerecord/'.dol_sanitizeFileName($object->ref);
|
||||
|
||||
Reference in New Issue
Block a user