From a9ebe4b4a00b176172b6b65a6a86487ae39579ac Mon Sep 17 00:00:00 2001 From: Moc Date: Tue, 2 Feb 2021 21:20:21 +0100 Subject: [PATCH] #4048 - Search results #id are unique and output fixes for legacy search handler --- e107_handlers/search/search_comment.php | 2 +- search.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/search/search_comment.php b/e107_handlers/search/search_comment.php index b3d5869d1..4420c8810 100644 --- a/e107_handlers/search/search_comment.php +++ b/e107_handlers/search/search_comment.php @@ -48,7 +48,7 @@ foreach ($search_prefs['comments_handlers'] as $h_key => $value) { $search_fields = array('c.comment_comment', 'c.comment_author_name'); $weights = array('1.2', '0.6'); -$no_results = LAN_198; +$no_results = "
".LAN_198."
"; //LAN_198; $where = "comment_type IN (".implode(',', $in).") AND".$advanced_where; $order = array('comment_datestamp' => 'DESC'); $table = "comments AS c ".implode(' ', $join); diff --git a/search.php b/search.php index 017934563..e71c74ec7 100644 --- a/search.php +++ b/search.php @@ -817,8 +817,8 @@ class search_front extends e_shortcode // } // print_a($ps); - - $text .= '