#9073 fixed filter title

This commit is contained in:
Daniel Cebrian 2023-02-17 14:15:16 +01:00
parent 35a1a67006
commit 864d54ee88
2 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@ class TipsWindow
if (key_exists('filter_title', $filters) === true) {
if (empty($filters['filter_title']) === false) {
$filter = ' WHERE title like "%'.$filters['filter_title'].'%"';
$filter = ' WHERE title like "%'.io_safe_input($filters['filter_title']).'%"';
}
}

View File

@ -43,7 +43,7 @@ $output .= '<p>'.html_print_checkbox(
($preview === true) ? '' : 'checkbox_tips_startup'
).__('Show usage tips at startup').'</p>';
$output .= '</div>';
$output .= '<div class="carousel '.(($files === false && $files64 === false) ? 'invisible' : '').'">';
$output .= '<div class="carousel '.((empty($files) === true && empty($files64) === true) ? 'invisible' : '').'">';
$output .= '<div class="images">';
if ($files !== false) {