Skip to content

Commit 0499092

Browse files
committed
Update CSV enclosure character in ExportTemplateCmsBri action for improved compatibility
1 parent 9ddba16 commit 0499092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Nova/Actions/ExportTemplateCmsBri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function handle(ActionFields $fields, Collection $models)
169169
$collection = $collection->merge($summary);
170170
}
171171
$filename = $fields->filename.'.csv';
172-
(new FastExcel($collection))->configureCsv(delimiter: '|', enclosure: chr(0))->export(Storage::disk('temp')->path($filename));
172+
(new FastExcel($collection))->configureCsv(delimiter: '|', enclosure: chr(32))->export(Storage::disk('temp')->path($filename));
173173

174174
return Action::redirect(route('dump-download', [
175175
'filename' => $filename,

0 commit comments

Comments
 (0)