Merge pull request #18843 from indelog/fix_ecm_deletion
Fix append module suffix on src_object_type when create ecm file
This commit is contained in:
commit
98d8bad955
@ -5297,7 +5297,7 @@ abstract class CommonObject
|
|||||||
$ecmfile->gen_or_uploaded = 'generated';
|
$ecmfile->gen_or_uploaded = 'generated';
|
||||||
$ecmfile->description = ''; // indexed content
|
$ecmfile->description = ''; // indexed content
|
||||||
$ecmfile->keywords = ''; // keyword content
|
$ecmfile->keywords = ''; // keyword content
|
||||||
$ecmfile->src_object_type = $this->table_element;
|
$ecmfile->src_object_type = $this->table_element.(empty($this->module) ? '' : '@'.$this->module);
|
||||||
$ecmfile->src_object_id = $this->id;
|
$ecmfile->src_object_id = $this->id;
|
||||||
|
|
||||||
$result = $ecmfile->create($user);
|
$result = $ecmfile->create($user);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user