Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r19513: LJSUP-9176: LJ-Like: Problems with loadi...

Committer: gariev
LJSUP-9176: LJ-Like: Problems with loading buttons in LJ-like ?\226?\128?\148 the 2nd step

U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2011-07-22 08:32:41 UTC (rev 19512)
+++ trunk/cgi-bin/cleanhtml.pl	2011-07-22 08:59:51 UTC (rev 19513)
@@ -805,7 +805,7 @@
                         }
 
                         $LJ::REQ_GLOBAL{'ljlike_vkontakte_id'} ||= 1;
-                        my $uniqid = $LJ::REQ_GLOBAL{'ljlike_vkontakte_id'}++;
+                        my $uniqid = int(rand(1_000_000_000));
 
                         my $widget_opts = {
                             'type'              => 'mini',

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