Revert for now; causes errors when replying to an entry.

        Patch by fu. 

diffs (12 lines):

diff -r f6c34adec046 -r 444c0e7f053e cgi-bin/LJ/Talk.pm
--- a/cgi-bin/LJ/Talk.pm        Thu Oct 21 16:35:14 2010 +0800
+++ b/cgi-bin/LJ/Talk.pm        Fri Oct 22 22:44:44 2010 +0800
@@ -1900,7 +1900,7 @@ sub talkform {
 
     # if parent comment is screened, and user can unscreen, give option to 
unscreen it
     # default is not to unscreen
-    if ( $parpost->is_screened && LJ::Talk::can_unscreen( $remote, $journalu, 
$entry->poster ) ) {
+    if ( $parpost->{state} eq "S" && LJ::Talk::can_unscreen( $remote, 
$journalu, $entry->poster ) ) {
         $ret .= "<label 
for='unscreen_parent'>$BML::ML{'.opt.unscreenparent'}</label>";
         $ret .= LJ::html_check(
                 {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to