From 864d54ee8866e948084f5a89c873989c388326f8 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Fri, 17 Feb 2023 14:15:16 +0100 Subject: [PATCH] #9073 fixed filter title --- pandora_console/include/class/TipsWindow.class.php | 2 +- pandora_console/views/dashboard/tipsWindow.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/class/TipsWindow.class.php b/pandora_console/include/class/TipsWindow.class.php index 0022b497d9..30e98bfb84 100644 --- a/pandora_console/include/class/TipsWindow.class.php +++ b/pandora_console/include/class/TipsWindow.class.php @@ -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']).'%"'; } } diff --git a/pandora_console/views/dashboard/tipsWindow.php b/pandora_console/views/dashboard/tipsWindow.php index a268e25e91..54420eaefa 100644 --- a/pandora_console/views/dashboard/tipsWindow.php +++ b/pandora_console/views/dashboard/tipsWindow.php @@ -43,7 +43,7 @@ $output .= '

'.html_print_checkbox( ($preview === true) ? '' : 'checkbox_tips_startup' ).__('Show usage tips at startup').'

'; $output .= ''; -$output .= '