Skip to content

Image is not duplicated when Product or Contact is duplicated

When duplicating save action is going into a below code segment due to a guard condition logic in the file "data/CRMEntity.php" function InsertIntoEntityTable() near line 637

if (($insertion_mode == 'edit' && $skipUpdateForField == false) || $_REQUEST['imgDeleted']) {

It might be due to the request "$_REQUEST['imgDeleted'] = true" while it should not except for the case of edit save (where image it deleted and another is added).