holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22092: LJSUP-12319: We need to display social c...

Committer: akanashin
LJSUP-12319: We need to display social capital for users which turn off Ratings
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-05-29 08:59:38 UTC (rev 22091)
+++ trunk/htdocs/userinfo.bml	2012-05-29 09:01:57 UTC (rev 22092)
@@ -715,7 +715,7 @@
         $soc_capital = LJ::PersonalStats::DB->fetch_raw('ratings', {func => 'get_authority', journal_id => $u->userid}); 
         $soc_capital = int($soc_capital->{result}->{authority}/1000);
         $soc_capital = $soc_capital < 10 ? ' <10 ' : LJ::commafy($soc_capital);
-        $soc_image ||= "<img src='$LJ::IMGPREFIX/profile_icons/social-capital.png?v=17298";
+        $soc_image ||= "<img src='$LJ::IMGPREFIX/profile_icons/social-capital.png?v=17298/>";
 
         if ($u->journaltype eq 'C' || LJ::SUP->is_sup_enabled($u)) {
                 $body .= "<li class='rating-social-capital'>" .

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