Commit 0f95dd45 authored by webchick's avatar webchick

#376408 by pwolanin and ajevans85: Stop phantom () appearing in search results.

parent eecab108
......@@ -646,7 +646,9 @@ function search_node_update_index($node) {
while ($link = db_fetch_object($result)) {
$output[] = $link->caption;
}
return '<a>(' . implode(', ', $output) . ')</a>';
if (count($output)) {
return '<a>(' . implode(', ', $output) . ')</a>';
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment