Merge branch 'ent-9965-error-sql-en-busqueda-de-widgets' into 'develop'

Fix sql error on widget search

See merge request artica/pandorafms!5323
This commit is contained in:
Diego Muñoz-Reja 2022-12-20 15:04:58 +00:00
commit de0efc7f3a
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.