diff --git a/src/Kunstmaan/AdminListBundle/Service/ExportService.php b/src/Kunstmaan/AdminListBundle/Service/ExportService.php index eb8e865363..02770f78c1 100644 --- a/src/Kunstmaan/AdminListBundle/Service/ExportService.php +++ b/src/Kunstmaan/AdminListBundle/Service/ExportService.php @@ -78,7 +78,7 @@ protected function streamOutput(ExportableInterface $adminList, $format) $iterator = $adminList->getIterator(); foreach ($iterator as $item) { - if (\array_key_exists(0, $item)) { + if (\is_array($item) && \array_key_exists(0, $item)) { $itemObject = $item[0]; } else { $itemObject = $item;