FIX : Use table_element instead of element

This commit is contained in:
ATM-Nicolas 2020-10-15 11:14:20 +02:00
parent f33688bd0c
commit 20aee01fd8

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)