журнал журнал (shhh) wrote in changelog,
журнал журнал
shhh
changelog

[livejournal] r23428: LJSUP-14504: XML-RPC getevents returns w...

Committer: nnikulochkina
LJSUP-14504: XML-RPC getevents returns wrong entry url
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-12-06 10:15:08 UTC (rev 23427)
+++ trunk/cgi-bin/ljprotocol.pl	2012-12-06 10:39:29 UTC (rev 23428)
@@ -4398,7 +4398,7 @@
         #
         # There is using final_ variabled to get correct link
         #
-        $evt->{'url'}         = LJ::item_link($final_ownerid, 
+        $evt->{'url'}         = LJ::item_link(LJ::load_userid($final_ownerid), 
                                               $final_itemid, 
                                               $final_anum);
 

Tags: livejournal, nikulochkina, nnikulochkina, pl
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