Skip to content

Commit

Permalink
Merge pull request #119 from raphaelcangucu/queryParamsHotfix
Browse files Browse the repository at this point in the history
Query params hotfix for PHP 8.2
  • Loading branch information
upwebdesign authored Jul 24, 2023
2 parents b69efd4 + 87b516a commit 3801402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/SamlSso.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private function setDestination()
}

$queryParams = $this->getQueryParams();
if (!empty($queryParams)) {
if (is_array($queryParams) && !empty($queryParams)) {
if (!parse_url($destination, PHP_URL_QUERY)) {
$destination = Str::finish(url($destination), '?') . Arr::query($queryParams);
} else {
Expand Down

0 comments on commit 3801402

Please sign in to comment.