Merge pull request #15027 from ATM-Nicolas/fix_ecm_src_object_type

FIX : Use table_element instead of element
This commit is contained in:
Laurent Destailleur 2020-10-15 20:14:39 +02:00 committed by GitHub
commit 14a26c499f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1748,7 +1748,7 @@ function addFileIntoDatabaseIndex($dir, $file, $fullpathorig = '', $mode = 'uplo
if (is_object($object) && $object->id > 0) {
$ecmfile->src_object_id = $object->id;
$ecmfile->src_object_type = $object->element;
$ecmfile->src_object_type = $object->table_element;
}
if ($setsharekey)