Skip to content

Commit

Permalink
Merge branch '4.11' into 4
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed May 19, 2022
2 parents 6c5448b + d3252b1 commit db5fbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/GridField/GridFieldExportButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function generateExportFileData($gridField)
}

$value = $columnHeader($relObj);
} elseif ($gridFieldColumnsComponent && array_key_exists($columnSource, $columnsHandled ?? [])) {
} elseif ($gridFieldColumnsComponent && in_array($columnSource, $columnsHandled ?? [])) {
$value = strip_tags(
$gridFieldColumnsComponent->getColumnContent($gridField, $item, $columnSource) ?? ''
);
Expand Down

0 comments on commit db5fbcd

Please sign in to comment.