[dw-free] clean up log messages that appear when global warnings are on
[commit: http://hg.dwscoalition.org/dw-free/rev/444c0e7f053e]
http://bugs.dwscoalition.org/show_bug.cgi?id=3040
Revert for now; causes errors when replying to an entry.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3040
Revert for now; causes errors when replying to an entry.
Patch by
Files modified:
- cgi-bin/LJ/Talk.pm
--------------------------------------------------------------------------------
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(
{
--------------------------------------------------------------------------------
