Fixing style errors.

This commit is contained in:
stickler-ci 2021-05-07 20:42:53 +00:00
parent 1a385052f6
commit fc26e5eecf

View File

@ -1792,7 +1792,7 @@ function addFileIntoDatabaseIndex($dir, $file, $fullpathorig = '', $mode = 'uplo
$ecmfile->src_object_type = $object->table_element;
}
if(!empty($conf->global->MAIN_CREATE_SHARE_ON_FILE_UPLOAD) && $conf->global->MAIN_CREATE_SHARE_ON_FILE_UPLOAD=='1'){
if (!empty($conf->global->MAIN_CREATE_SHARE_ON_FILE_UPLOAD) && $conf->global->MAIN_CREATE_SHARE_ON_FILE_UPLOAD=='1') {
$setsharekey = 1;
}
if ($setsharekey) {