Skip to content

Commit

Permalink
Fix: Grid export results in error when inheritance is disabled (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse authored Nov 7, 2023
1 parent 7cf5e12 commit 4c541a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ public function doExportAction(Request $request, LocaleServiceInterface $localeS

$allParams = array_merge($request->request->all(), $request->query->all());

$enableInheritance = $settings['enableInheritance'] ?? null;
$enableInheritance = $settings['enableInheritance'] ?? false;
DataObject\Concrete::setGetInheritedValues($enableInheritance);

$class = DataObject\ClassDefinition::getById($request->get('classId'));
Expand Down

0 comments on commit 4c541a1

Please sign in to comment.