madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22201: LJSUP-12509: There is no Repost button i...

Committer: sbelyaev
LJSUP-12509: There is no Repost button in reposted entry
U   trunk/cgi-bin/ljviews.pl
Modified: trunk/cgi-bin/ljviews.pl
===================================================================
--- trunk/cgi-bin/ljviews.pl	2012-06-07 12:59:40 UTC (rev 22200)
+++ trunk/cgi-bin/ljviews.pl	2012-06-07 13:29:53 UTC (rev 22201)
@@ -1888,7 +1888,7 @@
         my $event      = $logtext->{$datakey}->[1];
 
         my $repost_entry_obj;
-        my $journalu;
+        my $journalu = $entry_obj->journal;
 
         my $content =  { 'original_post_obj' => \$entry_obj,
                          'repost_obj'        => \$repost_entry_obj,
@@ -1902,6 +1902,7 @@
                          'cluster_id'        => \$clusterid, };
 
         if (LJ::Entry::Repost->substitute_content( $entry_obj, $content )) {
+
             $friendid = $journalu->userid;
             $logprops{$itemid} = $entry_obj->props;
             $friends{$friendid} = $journalu;

Tags: livejournal, madeon, pl, sbelyaev
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