X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ljpost%2Fljpost.php;h=c8690c26e18a1a1bfbdc352d7824e778d31278b2;hb=1df8bc583e95e2b582a244bb1b1a57578c9e8740;hp=ddcd28907f1fe5ec3a4aa2c3f204f2b2d508f21c;hpb=3d38180d8f61c9922f4bbdbda0ac5010463a0b0e;p=friendica-addons.git diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index ddcd2890..c8690c26 100755 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -90,7 +90,7 @@ function ljpost_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } @@ -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); }