Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r9927: LJINT-362 (Comments for side projects)

Committer: ailyin
LJINT-362 (Comments for side projects)
U   trunk/cgi-bin/LJ/PartnerSite.pm
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2011-01-20 05:00:15 UTC (rev 9926)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2011-01-20 09:26:49 UTC (rev 9927)
@@ -793,7 +793,6 @@
 
     my $journal = $self->journal;
     my $entry   = $self->find_entry_by_docid( $docid, { 'nocreate' => 1 } );
-    my $jitemid = $entry->jitemid;
 
     unless ($entry) {
         # no entry means no comments
@@ -806,7 +805,8 @@
         };
     }
 
-    my $remote = $opts->{'remote'};
+    my $jitemid = $entry->jitemid;
+    my $remote  = $opts->{'remote'};
 
     my $load_comments_struct = { thread     => $opts->{'thread'},
                                  view       => $opts->{'view'},

Tags: andy, ljcom, 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