mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Escape search query text
This commit is contained in:
parent
b2e5fa84ea
commit
4efc30c63e
|
@ -1327,7 +1327,7 @@ class AssetsController extends Controller
|
|||
->Hardware();
|
||||
|
||||
if (Input::has('search')) {
|
||||
$assets = $assets->TextSearch(Input::get('search'));
|
||||
$assets = $assets->TextSearch(e(Input::get('search')));
|
||||
}
|
||||
|
||||
if (Input::has('offset')) {
|
||||
|
|
Loading…
Reference in a new issue