mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
BUGFIX: Fixed crash when the relationship has no parents
This commit is contained in:
parent
9a5361ae31
commit
0ca7906c2d
@ -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