Skip to content

Commit

Permalink
Update search.php
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Dec 12, 2024
1 parent d4a18e4 commit 982329f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/app/themes/justice/inc/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,7 @@ public function redirectIfQueryStringHasArrays(): void
return;
}

$query_string = $_SERVER['QUERY_STRING'];
$query_string = explode('&', $query_string);
$query_string = explode('&', $_SERVER['QUERY_STRING'] ?? '');

foreach ($query_string as $query) {
error_log($query);
Expand Down

0 comments on commit 982329f

Please sign in to comment.