Skip to content

Commit

Permalink
Merge pull request #23083 from jaapjansma/issue_3034
Browse files Browse the repository at this point in the history
dev/core#3034
  • Loading branch information
demeritcowboy authored Apr 4, 2022
2 parents 027db99 + 0d55fe8 commit 5be4ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/Form/Task/PDFTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public function postProcess(): void {
civicrm_api3('Attachment', 'create', [
'entity_table' => 'civicrm_activity',
'entity_id' => $activityId,
'name' => $fileName,
'name' => $fileName . '.' . $type,
'mime_type' => $mimeType,
'options' => [
'move-file' => $tee->getFileName(),
Expand Down

0 comments on commit 5be4ec1

Please sign in to comment.