wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r17582: LJSUP-7208. data are repeated in the blo...

Committer: gprochaev
LJSUP-7208. data are repeated in the block\

U   trunk/cgi-bin/LJ/Widget/TopUsers.pm
Modified: trunk/cgi-bin/LJ/Widget/TopUsers.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/TopUsers.pm	2010-10-20 06:38:51 UTC (rev 17581)
+++ trunk/cgi-bin/LJ/Widget/TopUsers.pm	2010-10-20 09:31:04 UTC (rev 17582)
@@ -7,10 +7,7 @@
 use LJ::ExtBlock;
 
 # Keys to get data from ext_block
-my %keys = (
-    'ontd_authors'      => { title => "widget.topusers.top5commenters.title",   order => 2 },
-    #'ontd_commenters'   => { title => "widget.topusers.top5posters.title",      order => 2 },
-);
+my %keys = ();
 
 # 0 - get data from LJ::ExtBlock
 # 1 - use debug data from %debug_data hash
@@ -23,6 +20,11 @@
 );
 
 sub _fetch_data {
+    %keys = (
+        'ontd_authors'      => { title => "widget.topusers.top5commenters.title",   order => 2 },
+        #'ontd_commenters'   => { title => "widget.topusers.top5posters.title",      order => 2 },
+    );
+
     foreach my $key (keys %keys) {
         my $data;
 

Tags: livejournal, pm, wisest-owl
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