diff --git a/htdocs/api/class/api_documents.class.php b/htdocs/api/class/api_documents.class.php index 0a779ed1296..4d6e0662746 100644 --- a/htdocs/api/class/api_documents.class.php +++ b/htdocs/api/class/api_documents.class.php @@ -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';