mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 09:32:47 +01:00
Update api_documents.class.php
This commit is contained in:
committed by
GitHub
parent
6f88117ab8
commit
124c304677
@@ -310,7 +310,7 @@ class Documents extends DolibarrApi
|
||||
|
||||
if (!$result) {
|
||||
throw new RestException(404, 'Exepnse report not found');
|
||||
}
|
||||
}
|
||||
} elseif ($modulepart == 'product') {
|
||||
require_once DOL_DOCUMENT_ROOT . '/product/class/product.class.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user