alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r18529: LJSUP-8136: I can see screen ?\209?\129o...

Committer: afedorov
LJSUP-8136: I can see screen ?\209?\129omments in another journal

U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-03-14 04:49:22 UTC (rev 18528)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-03-14 06:45:38 UTC (rev 18529)
@@ -1259,7 +1259,7 @@
                                                               $remote->can_manage($u) ));
             }
             if (LJ::is_enabled('spam_button') && !$opts->{showspam}) {
-                $should_show = $post->{'state'} eq 'B' ? 0 : 1;
+                $should_show = 0 if $post->{'state'} eq 'B';
             }
             $post->{'_show'} = $should_show;
             $post_count += $should_show;

Tags: livejournal, pm, red_alf
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments