diff --git a/Classes/Domain/Index/TcaIndexer.php b/Classes/Domain/Index/TcaIndexer.php index 9592b65..5cf6988 100644 --- a/Classes/Domain/Index/TcaIndexer.php +++ b/Classes/Domain/Index/TcaIndexer.php @@ -120,8 +120,11 @@ class TcaIndexer implements IndexerInterface '', (int) $offset . ',' . (int) $limit ); - $this->tcaTableService->filterRecordsByRootLineBlacklist($records); + if ($records === null) { + return null; + } + $this->tcaTableService->filterRecordsByRootLineBlacklist($records); foreach ($records as &$record) { $this->tcaTableService->prepareRecord($record); }