madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23506: LJSUP-14707: [internal] Remove warnings ...

Committer: sbelyaev
LJSUP-14707: [internal] Remove warnings from JournalNewRepost.pm
U   trunk/cgi-bin/LJ/Event/JournalNewRepost.pm
Modified: trunk/cgi-bin/LJ/Event/JournalNewRepost.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/JournalNewRepost.pm	2012-12-25 08:55:50 UTC (rev 23505)
+++ trunk/cgi-bin/LJ/Event/JournalNewRepost.pm	2012-12-25 08:59:01 UTC (rev 23506)
@@ -241,10 +241,9 @@
     my $ml_string = $journal->is_community ? 'esn.user_new_repost_community.ashtml' :
                                              'esn.user_new_repost.ashtml';
 
-    my $journal  = LJ::ljuser($self->journal);
+    my $ljuser_journal  = LJ::ljuser($self->journal);
     my $poster   = LJ::ljuser($self->poster);
     my $reposter = LJ::ljuser($self->reposter);
-    my $entry    = $self->entry; 
 
     my $tags = '';
     # add tag info for entries that have tags
@@ -261,7 +260,7 @@
         {
             reposter  => $reposter,
             poster    => $poster,
-            community => $journal,
+            community => $ljuser_journal,
             about     => $about,
             tags      => $tags,
         }); 

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