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 .= '