[dw-free] crossposter: editing doesn't allow enabling comments
[commit: http://hg.dwscoalition.org/dw-free/rev/9a5a4786176f]
http://bugs.dwscoalition.org/show_bug.cgi?id=947
Explicitly define the value for opt_nocomments.
Patch by
allen.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=947
Explicitly define the value for opt_nocomments.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/External/XPostProtocol/LJXMLRPC.pm
-------------------------------------------------------------------------------- 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 ); --------------------------------------------------------------------------------