Skip to content

Commit

Permalink
Update Client.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ARACOOOL committed Feb 23, 2016
1 parent 60d5e9c commit 73efa2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ public function post(array $fields = [], array $options = [])
{
return $this->get($options + [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => is_array($fields) ? http_build_query($fields) : $fields
CURLOPT_POSTFIELDS => $fields
]);
}

0 comments on commit 73efa2f

Please sign in to comment.