mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Merge pull request #119 from webbuilders-group/empty-rels-fix
BUGFIX: Fixed crash when the relationship has no parents
This commit is contained in:
commit
5ced034b33
@ -557,6 +557,10 @@ abstract class SearchIndex extends ViewableData
|
||||
|
||||
$ids = $sql->execute()->column();
|
||||
}
|
||||
|
||||
if (empty($ids)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
SearchVariant::activate_state($current);
|
||||
|
Loading…
Reference in New Issue
Block a user