mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fixing style errors.
This commit is contained in:
@@ -120,7 +120,7 @@ if (GETPOST("sendit", 'alphanohtml') && !empty($conf->global->MAIN_UPLOAD_DOC))
|
||||
|
||||
if (!$error) {
|
||||
$generatethumbs = 0;
|
||||
$overwritefile = GETPOST('overwritefile','int')?GETPOST('overwritefile','int'):0;
|
||||
$overwritefile = GETPOST('overwritefile', 'int')?GETPOST('overwritefile', 'int'):0;
|
||||
$res = dol_add_file_process($upload_dir, $overwritefile, 1, 'userfile', '', null, '', $generatethumbs);
|
||||
if ($res > 0) {
|
||||
$result = $ecmdir->changeNbOfFiles('+');
|
||||
|
||||
Reference in New Issue
Block a user