Bugfixing for CurlResult

This commit is contained in:
Philipp Holzer 2018-10-11 07:40:57 +02:00
parent ce2af45897
commit 2e8d9ba39b
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
9 changed files with 13 additions and 14 deletions

View file

@ -224,7 +224,7 @@ EOT;
logger('ijpost: data: ' . $xml, LOGGER_DATA);
if ($ij_blog !== 'test') {
$x = Network::post($ij_blog, $xml, ["Content-Type: text/xml"]);
$x = Network::post($ij_blog, $xml, ["Content-Type: text/xml"])->getBody();
}
logger('posted to insanejournal: ' . $x ? $x : '', LOGGER_DEBUG);
}