Merge pull request #421 from MyIgel/master

Prevent empty string after $tokens = explode(' ', $search);
This commit is contained in:
msquare 2018-01-22 20:48:59 +01:00 committed by GitHub
commit 0f1da65f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ function admin_arrive()
if ($request->has('search')) {
$search = strip_request_item('search');
$search = trim($search);
}
if ($request->has('reset') && preg_match('/^\d+$/', $request->input('reset'))) {