Fixing style errors.

This commit is contained in:
stickler-ci 2021-08-17 18:11:12 +00:00
parent 659f24efa9
commit 5d0318c98f

View File

@ -1795,7 +1795,7 @@ function addFileIntoDatabaseIndex($dir, $file, $fullpathorig = '', $mode = 'uplo
if (!empty($conf->global->MAIN_FORCE_SHARING_ON_ANY_UPLOADED_FILE)) {
$setsharekey = 1;
}
if ($setsharekey) {
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
$ecmfile->share = getRandomPassword(true);