minor alteration
authorTony Baldwin <tony@baldwinsoftware.com>
Sun, 18 Mar 2012 13:37:46 +0000 (09:37 -0400)
committerTony Baldwin <tony@baldwinsoftware.com>
Sun, 18 Mar 2012 13:37:46 +0000 (09:37 -0400)
ijpost/ijpost.php

index e535ec2..d6861f4 100644 (file)
@@ -213,7 +213,7 @@ EOT;
                logger('ijpost: data: ' . $xml, LOGGER_DATA);
 
                if($ij_blog !== 'test')
-                       $x = post_url($ij_blog,$xml);
+                       $x = post_url($ij_blog,$xml,array("Content-Type: text/xml"));
                logger('posted to insanejournal: ' . ($x) ? $x : '', LOGGER_DEBUG);
 
        }