diff --git a/pandora_console/include/lib/Dashboard/Widget.php b/pandora_console/include/lib/Dashboard/Widget.php index 9e1b6c7b81..2753b8a55d 100644 --- a/pandora_console/include/lib/Dashboard/Widget.php +++ b/pandora_console/include/lib/Dashboard/Widget.php @@ -206,7 +206,7 @@ class Widget $sql_search = ''; if (empty($search) === false) { - $sql_search = 'AND description LIKE "%'.$search.'%" '; + $sql_search = 'AND description LIKE "%'.addslashes($search).'%" '; } // User admin view all dashboards.