Fixing style errors.
This commit is contained in:
parent
ae38490042
commit
e01ccabbd5
@ -120,7 +120,7 @@ if (GETPOST("sendit", 'alphanohtml') && !empty($conf->global->MAIN_UPLOAD_DOC))
|
|||||||
|
|
||||||
if (!$error) {
|
if (!$error) {
|
||||||
$generatethumbs = 0;
|
$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);
|
$res = dol_add_file_process($upload_dir, $overwritefile, 1, 'userfile', '', null, '', $generatethumbs);
|
||||||
if ($res > 0) {
|
if ($res > 0) {
|
||||||
$result = $ecmdir->changeNbOfFiles('+');
|
$result = $ecmdir->changeNbOfFiles('+');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user