Skip to content

Commit

Permalink
Merge pull request TelegramBot#25 from POPSuL/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
iGusev committed Mar 30, 2016
2 parents 6ea9f5f + 78560bc commit 5f440c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BotApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function call($method, array $data = null)

if ($data) {
$options[CURLOPT_POST] = true;
$options[CURLOPT_POSTFIELDS] = http_build_query($data);
$options[CURLOPT_POSTFIELDS] = $data;
}

$response = self::jsonValidate($this->executeCurl($options), $this->returnArray);
Expand Down

0 comments on commit 5f440c8

Please sign in to comment.