Skip to content

Commit

Permalink
Update PrepareUrl.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jakublabno authored Oct 26, 2022
1 parent c4c0a17 commit 40c2c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Network/PrepareUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function build($url, array $singleParameters, array $compoundParameters,
if (!empty($this->cacheBuster)) {
$this->payloadParameters['z'] = $this->cacheBuster;
}
$query = http_build_query($this->payloadParameters, null, ini_get('arg_separator.output'), PHP_QUERY_RFC3986);
$query = http_build_query($this->payloadParameters, '', ini_get('arg_separator.output'), PHP_QUERY_RFC3986);
return $onlyQuery ? $query : ($url . '?' . $query);
}

Expand Down

0 comments on commit 40c2c2b

Please sign in to comment.