mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-02 10:05:33 +00:00
fix post requests processing
This commit is contained in:
parent
c4568713e0
commit
6241cfd730
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class Curl
|
||||||
if (!empty($post))
|
if (!empty($post))
|
||||||
{
|
{
|
||||||
curl_setopt($this->_connection, CURLOPT_POST, true);
|
curl_setopt($this->_connection, CURLOPT_POST, true);
|
||||||
curl_setopt($this->_connection, CURLOPT_POSTFIELDS, json_encode($post));
|
curl_setopt($this->_connection, CURLOPT_POSTFIELDS, http_build_query($post));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($header) {
|
if ($header) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue