BUGFIX: Fixed crash when the relationship has no parents

This commit is contained in:
UndefinedOffset 2016-05-24 16:34:00 -03:00
parent 9a5361ae31
commit 0ca7906c2d
1 changed files with 4 additions and 0 deletions

View File

@ -557,6 +557,10 @@ abstract class SearchIndex extends ViewableData
$ids = $sql->execute()->column();
}
if (empty($ids)) {
break;
}
}
SearchVariant::activate_state($current);