We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd08b5d commit 5b0bbb5Copy full SHA for 5b0bbb5
src/Curl/Curl.php
@@ -1193,7 +1193,7 @@ private function buildUrl($url, $mixed_data = '')
1193
{
1194
$query_string = '';
1195
if (!empty($mixed_data)) {
1196
- $query_mark = (strpos($url,'?')>0)? '&':'?';
+ $query_mark = strpos($url, '?') > 0 ? '&' : '?';
1197
if (is_string($mixed_data)) {
1198
$query_string .= $query_mark . $mixed_data;
1199
} elseif (is_array($mixed_data)) {
0 commit comments