Update api_documents.class.php

This commit is contained in:
Laurent Destailleur 2023-03-17 21:07:30 +01:00 committed by GitHub
parent 0093954437
commit 932f561fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -607,7 +607,8 @@ class Documents extends DolibarrApi
if ($ref) {
$tmpreldir = '';
$fetchbyid = false;
if ($modulepart == 'facture' || $modulepart == 'invoice') {
$modulepart = 'facture';