mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +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 = '';
|
$sql_search = '';
|
||||||
if (empty($search) === false) {
|
if (empty($search) === false) {
|
||||||
$sql_search = 'AND description LIKE "%'.$search.'%" ';
|
$sql_search = 'AND description LIKE "%'.addslashes($search).'%" ';
|
||||||
}
|
}
|
||||||
|
|
||||||
// User admin view all dashboards.
|
// User admin view all dashboards.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user