diff options
author | msquare <msquare@notrademark.de> | 2018-01-22 20:48:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 20:48:59 +0100 |
commit | 0f1da65f2a518cbf258e82998c4114bc61c2f75f (patch) | |
tree | 0b16d734b427a13f9e377ab97f2b2cf771c6b49c /includes/pages/admin_arrive.php | |
parent | 8a553366cca4e022bc8c4f32ad20227756a86aaa (diff) | |
parent | b2e5b5c44db9683e17034d72d810c0b21211dac2 (diff) |
Merge pull request #421 from MyIgel/master
Prevent empty string after $tokens = explode(' ', $search);
Diffstat (limited to 'includes/pages/admin_arrive.php')
-rw-r--r-- | includes/pages/admin_arrive.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/pages/admin_arrive.php b/includes/pages/admin_arrive.php index 48e2c91f..e925bfd4 100644 --- a/includes/pages/admin_arrive.php +++ b/includes/pages/admin_arrive.php @@ -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'))) { |