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

[livejournal] r17581: LJSUP-7204. We should display only 5 top...

Committer: gprochaev
LJSUP-7204. We should display only 5 top commenters

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-19 11:25:59 UTC (rev 17580)
+++ trunk/cgi-bin/LJ/Widget/TopUsers.pm	2010-10-20 06:38:51 UTC (rev 17581)
@@ -105,6 +105,7 @@
             $ret .= "</li>";
 
             $index++;
+            last if $index > 5;
         }
 
         # Footer of coumn

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