Commit ee59be7f authored by Chamil Wijesooriya's avatar Chamil Wijesooriya

GitLab issue 652 Copying activity file custom data doesn't copy mime type

parent 44e2ee47
......@@ -3109,7 +3109,7 @@ INNER JOIN civicrm_option_group grp ON (grp.id = option_group_id AND grp.name =
$fileValues = CRM_Core_BAO_File::path($value, $params['activityID']);
$customParams["custom_{$key}_-1"] = array(
'name' => $fileValues[0],
'path' => $fileValues[1],
'type' => $fileValues[1],
);
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment