diff --git a/lib/task/search/arSolrSearchTask.class.php b/lib/task/search/arSolrSearchTask.class.php index 4984a3f127..b9ff072109 100644 --- a/lib/task/search/arSolrSearchTask.class.php +++ b/lib/task/search/arSolrSearchTask.class.php @@ -97,7 +97,7 @@ private function runSolrQuery($solrInstance, $queryText, $rows, $start, $fields) $docs = $solrInstance->search($query, 'QubitInformationObject'); if ($docs) { foreach ($docs as $resp) { - $this->log(sprintf('%s - %s', $resp->id, $resp->{'QubitInformationObject.i18n.en.title'}[0])); + $this->log(sprintf('%s - %s', $resp->{'QubitInformationObject.id'}[0], $resp->{'QubitInformationObject.i18n.en.title'}[0])); // print entire object if no title is present if (!$resp->{'QubitInformationObject.i18n.en.title'}[0]) {