Explicitly define the value for opt_nocomments.
Patch by allen.
diffs (12 lines):
diff -r 9bd5acd72532 -r 9a5a4786176f
cgi-bin/DW/External/XPostProtocol/LJXMLRPC.pm
--- a/cgi-bin/DW/External/XPostProtocol/LJXMLRPC.pm Sat Jul 11 06:51:29
2009 +0000
+++ b/cgi-bin/DW/External/XPostProtocol/LJXMLRPC.pm Sat Jul 11 07:13:03
2009 +0000
@@ -153,7 +153,7 @@ sub crosspost {
# are we disabling comments?
my $disabling_comments = $extacct->owner->prop(
'opt_xpost_disable_comments' ) ? 1 : 0;
- $req->{props}->{opt_nocomments} = 1 if $disabling_comments;
+ $req->{props}->{opt_nocomments} = $disabling_comments ||
$req->{props}->{opt_nocomments} || 0;
# are we adding a footer?
my ( $adding_footer, $footer_text );
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog