Commit 12ff061
committed
fix(SearchController): replace superglobal with ServerRequest->has()
Replace `empty($_REQUEST['ajax_page_request'])` with
`! $request->has('ajax_page_request')` to use the injected
ServerRequest consistently.
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>1 parent d4cbd06 commit 12ff061
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments