Skip to content

Commit c58a775

Browse files
committed
Don't add id header
1 parent 58ef646 commit c58a775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exporters/CsvExporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private function insertHeaders()
4646
{
4747
$headers = array_keys(Redirect::all()->first()->fileData());
4848

49-
$headers = Arr::except($headers, ['id']);
49+
$headers = Arr::except($headers, array_search('id', $headers, true));
5050

5151
if (! in_array('site', $headers)) {
5252
$headers[] = 'site';

0 commit comments

Comments
 (0)