Remove unused highlighting parameters

This commit is contained in:
Benoît Burnichon
2016-03-29 19:11:48 +02:00
parent 37883ed1ae
commit c89bf664b5
3 changed files with 6 additions and 9 deletions

View File

@@ -870,7 +870,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
}
if (count($fields_to_retrieve) > 0) {
$retrieved_fields = $this->get_caption()->get_highlight_fields($highlight, $fields_to_retrieve, $searchEngine);
$retrieved_fields = $this->get_caption()->get_highlight_fields($highlight, $fields_to_retrieve);
$titles = [];
foreach ($retrieved_fields as $value) {
foreach ($value['values'] as $v) {