Committer: vsukhanov
LJSUP-7216: do not use imageplaceholders in non-anon comments.U trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm
Modified: trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm =================================================================== --- trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm 2010-12-14 13:46:10 UTC (rev 9846) +++ trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm 2010-12-15 04:15:19 UTC (rev 9847) @@ -177,7 +177,7 @@ #my $pu = $comment->{posterid} ? $user{$com->{posterid}} : undef; my $pu = undef; LJ::CleanHTML::clean_comment(\$text, { 'preformatted' => $comment->{'props'}->{'opt_preformatted'}, - 'anon_comment' => (!$pu || $pu->{'journaltype'} eq 'I'), + 'anon_comment' => $comment->{posterid} ? 0 : 1, }); return { talkid => $comment->{talkid} * 256 + $anum,