Fixed bug caused by blank claims ( deleted ). #79

Merged
tiger5226 merged 1 commit from server_error into master 2018-06-21 04:01:06 +02:00

View file

@ -262,7 +262,7 @@ class LighthouseControllers {
let cResults = [];
for (let pResult of results) {
cResults.push(pResult._source.name);
if (pResult._source.value.stream !== undefined) {
if (pResult._source && pResult._source.value.stream !== undefined) {
cResults.push(pResult._source.value.stream.metadata.title);
cResults.push(pResult._source.value.stream.metadata.author);
}