Committer: gariev
LJSUP-9176: LJ-Like: Problems with loading buttons in LJ-like ?\226?\128?\148 the 2nd stepU 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',