holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r21800: LJSUP-11961: Display social capital for ...

Committer: akanashin
LJSUP-11961: Display social capital for all users and communities
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-04-26 06:54:43 UTC (rev 21799)
+++ trunk/htdocs/userinfo.bml	2012-04-26 09:10:45 UTC (rev 21800)
@@ -680,7 +680,7 @@
             journal_id => $u->userid,
             by => 'friends_weight',
             type => 0,
-            sup => 1,
+            sup =>  LJ::SUP->is_sup_enabled($u) ? 1 : 0,
         });
 
         if ((ref $ua_position eq 'HASH') || (ref $position eq 'HASH')) {

Tags: akanashin, bml, holyandrew, livejournal
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