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:
commit
de0efc7f3a
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue