Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

a bit protection against search result bugs in interactive search

orbiter0229029dcf91
diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js
index b8308f3f7..62bff9a20 100644
--- a/htroot/js/yacyinteractive.js
+++ b/htroot/js/yacyinteractive.js
@@ -168,6 +168,8 @@ function resultImages() {
function resultLine(type, item, linenumber) {
// evaluate item
+ if (item == null) return "";
+ if (item.link == null) return "";
p = item.link.indexOf("//");
protocol = "";
host = "";