We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58ef646 commit c58a775Copy full SHA for c58a775
src/Exporters/CsvExporter.php
@@ -46,7 +46,7 @@ private function insertHeaders()
46
{
47
$headers = array_keys(Redirect::all()->first()->fileData());
48
49
- $headers = Arr::except($headers, ['id']);
+ $headers = Arr::except($headers, array_search('id', $headers, true));
50
51
if (! in_array('site', $headers)) {
52
$headers[] = 'site';
0 commit comments