Committer: anazarov
LJSV-2075: Show comments from deleted users as deleted (S2)U trunk/cgi-bin/LJ/S2/EntryPage.pm
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-02-15 08:42:01 UTC (rev 21188) +++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-02-15 09:15:04 UTC (rev 21189) @@ -230,9 +230,9 @@ if ($last_talkid == $dtalkid && $last_jid == $remote->{'userid'}); my $deleted = $com->{'state'} eq 'D'? 1 : 0; - if ( $poster and $poster->{'statusvis'} eq 'D' ) { + if ( $pu and $pu->{'statusvis'} eq 'D' ) { # LJSV-2075 - my ($comments, $community_entries) = split ':', $poster->prop("purge_external_content"); + my ($comments, $community_entries) = split ':', $pu->prop('purge_external_content'); $deleted = 1 if $comments; }