Fix sql error on widget search

This commit is contained in:
Calvo 2022-12-12 15:48:10 +01:00
parent 31919d4d2c
commit 6913f237dc
1 changed files with 1 additions and 1 deletions

View File

@ -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.