1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

#4048 - Search results #id are unique and output fixes for legacy search handler

This commit is contained in:
Moc
2021-02-02 21:20:21 +01:00
parent 89d5f11c74
commit a9ebe4b4a0
2 changed files with 3 additions and 3 deletions

View File

@@ -817,8 +817,8 @@ class search_front extends e_shortcode
// }
// print_a($ps);
$text .= '<ul id="search-results" class="list-unstyled search-block">';
$idkey = str_replace('_', '-', $key);
$text .= '<ul id="search-results-'.$idkey.'" class="list-unstyled search-block">';
$text .= $ps['text'];
$text .= '</ul>';
$results = $ps['results'];