mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 02:18:48 +00:00
Bugfixing for CurlResult
This commit is contained in:
parent
ce2af45897
commit
2e8d9ba39b
9 changed files with 13 additions and 14 deletions
|
@ -228,7 +228,7 @@ EOT;
|
|||
logger('dwpost: data: ' . $xml, LOGGER_DATA);
|
||||
|
||||
if ($dw_blog !== 'test') {
|
||||
$x = Network::post($dw_blog, $xml, ["Content-Type: text/xml"]);
|
||||
$x = Network::post($dw_blog, $xml, ["Content-Type: text/xml"])->getBody();
|
||||
}
|
||||
|
||||
logger('posted to dreamwidth: ' . ($x) ? $x : '', LOGGER_DEBUG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue