mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 20:56:12 +01:00
BUGFIX: Don't break if no more records exist
This commit is contained in:
parent
8e062d6e42
commit
8bea39217e
1 changed files with 4 additions and 1 deletions
|
@ -120,8 +120,11 @@ class TcaIndexer implements IndexerInterface
|
||||||
'',
|
'',
|
||||||
(int) $offset . ',' . (int) $limit
|
(int) $offset . ',' . (int) $limit
|
||||||
);
|
);
|
||||||
$this->tcaTableService->filterRecordsByRootLineBlacklist($records);
|
if ($records === null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->tcaTableService->filterRecordsByRootLineBlacklist($records);
|
||||||
foreach ($records as &$record) {
|
foreach ($records as &$record) {
|
||||||
$this->tcaTableService->prepareRecord($record);
|
$this->tcaTableService->prepareRecord($record);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue