summaryrefslogtreecommitdiff
path: root/includes/search.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/search.inc')
-rw-r--r--includes/search.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/search.inc b/includes/search.inc
index d1cdf9c97..e3062496a 100644
--- a/includes/search.inc
+++ b/includes/search.inc
@@ -14,7 +14,7 @@ function search_data($keys, $type) {
foreach ($result as $entry) {
$output .= "<p>\n";
$output .= " <b><u><a href=\"$entry[link]\">$entry[title]</a></u></b><br />";
- $output .= " <small>$entry[link]". ($entry[user] ? " - ". format_name($entry[user], $entry[name]) : "") ."". ($entry[date] ? " - ". format_date($entry[date], "small") : "") ."</small>";
+ $output .= " <small>$entry[link]". ($entry[user] ? " - $entry[user]" : "") ."". ($entry[date] ? " - ". format_date($entry[date], "small") : "") ."</small>";
$output .= "</p>\n";
}
}