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