diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index ddcd2890..dc17e83f 100755 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -232,7 +232,7 @@ EOT; logger('ljpost: data: ' . $xml, LOGGER_DATA); if($lj_blog !== 'test') - $x = post_url($lj_blog,$xml); + $x = post_url($lj_blog,$xml,array("Content-Type: text/xml")); logger('posted to livejournal: ' . ($x) ? $x : '', LOGGER_DEBUG); }