FIX : Use table_element instead of element
This commit is contained in:
parent
f33688bd0c
commit
20aee01fd8
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user