Committer: sbelyaev
LJSUP-12509: There is no Repost button in reposted entryU 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;