Skip to content

Commit 0364425

Browse files
author
Peter Lohse
committed
http_build_query Fehler behoben
1 parent 6ce5bc4 commit 0364425

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

files/lib/system/steam/SteamAPI.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function execute(string $interface, string $method, int $version,
5555

5656
$postParameters = [];
5757
if ($httpmethod == 'GET') {
58-
$apiURL .= '?' . http_build_query($parameters, null, '&');
58+
$apiURL .= '?' . http_build_query($parameters, '', '&');
5959
} else {
6060
$postParameters = $parameters;
6161
}
@@ -100,7 +100,7 @@ public static function getOpenIDUrl(string $redirectUri, string $realm): string
100100
'openid.claimed_id' => 'http://specs.openid.net/auth/2.0/identifier_select',
101101
'openid.identity' => 'http://specs.openid.net/auth/2.0/identifier_select'
102102
];
103-
return 'https://steamcommunity.com/openid/login?' . http_build_query($data, null, '&');
103+
return 'https://steamcommunity.com/openid/login?' . http_build_query($data, '', '&');
104104
}
105105

106106
/**

0 commit comments

Comments
 (0)