Fixing style errors.

This commit is contained in:
stickler-ci 2019-11-08 18:58:49 +00:00
parent 21454aa597
commit 8dc67d9530

View File

@ -562,7 +562,7 @@ class Documents extends DolibarrApi
// $original_file here is still value of filename without any dir. // $original_file here is still value of filename without any dir.
$upload_dir = dol_sanitizePathName($upload_dir); $upload_dir = dol_sanitizePathName($upload_dir);
if (dol_mkdir($upload_dir) < 0) // needed by products if (dol_mkdir($upload_dir) < 0) // needed by products
{ {
throw new RestException(500, 'Error while trying to create directory.'); throw new RestException(500, 'Error while trying to create directory.');