Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r21189: LJSV-2075: Show comments from deleted us...

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;
             }
 

Tags: anazarov, livejournal, nfokz, pm
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