changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r18883: LJINT-422: fix

Committer: emazin
LJINT-422: fix
U   trunk/htdocs/gadgets/logcom.bml
Modified: trunk/htdocs/gadgets/logcom.bml
===================================================================
--- trunk/htdocs/gadgets/logcom.bml	2011-04-15 08:22:43 UTC (rev 18882)
+++ trunk/htdocs/gadgets/logcom.bml	2011-04-15 08:43:33 UTC (rev 18883)
@@ -16,7 +16,7 @@
     my $domain  = LJ::Request->get_param('domain');
 
     ## convert remote-site key to lj.com's community
-    my $partner = LJ::PartnerSite->find_by_journal_username('kommersant_id');#LJ::PartnerSite->find_by_api_key($api_key);
+    my $partner = LJ::PartnerSite->find_by_api_key($api_key);
     return 'unknown key'
         unless $partner;
 
@@ -63,6 +63,8 @@
                          'returnto=' . LJ::eurl($thispage) . '&' .
                          'sessid=' . $remote_sessid;
 
+        my $ljuser_html = $partner->ljuser_html($remote);
+
         return
             LJ::Talk::talkform({
                 'embedable_form'    => 1,

Tags: bml, changelog_bot, livejournal
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