mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fix sql error on widget search
This commit is contained in:
parent
31919d4d2c
commit
6913f237dc
@ -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…
x
Reference in New Issue
Block a user