diff --git a/public/app/themes/justice/inc/search.php b/public/app/themes/justice/inc/search.php index b8a67f19..7f83f4ca 100644 --- a/public/app/themes/justice/inc/search.php +++ b/public/app/themes/justice/inc/search.php @@ -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);