diff --git a/forms/gridfield/GridFieldExportButton.php b/forms/gridfield/GridFieldExportButton.php index 150a9af3e..ba58fe882 100644 --- a/forms/gridfield/GridFieldExportButton.php +++ b/forms/gridfield/GridFieldExportButton.php @@ -103,8 +103,6 @@ class GridFieldExportButton implements GridField_HTMLProvider, GridField_ActionP ? $this->exportColumns : singleton($gridField->getModelClass())->summaryFields(); $fileData = ''; - $columnData = array(); - $fieldItems = new ArrayList(); if($this->csvHasHeader) { $headers = array();