Prevent empty string after $tokens = explode(' ', $search);

main
Igor Scheller 7 years ago
parent ddadaada9d
commit b2e5b5c44d

@ -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'))) {

Loading…
Cancel
Save