Fixing style errors.
This commit is contained in:
parent
21454aa597
commit
8dc67d9530
@ -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.');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user