holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r21865: LJSV-2203: Can't open profile for some u...

Committer: akanashin
LJSV-2203: Can't open profile for some users in Ukraine
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-05-02 11:50:22 UTC (rev 21864)
+++ trunk/htdocs/userinfo.bml	2012-05-02 12:23:01 UTC (rev 21865)
@@ -705,7 +705,7 @@
         }
         if (ref $ua_position eq 'HASH') {
                 $soc_image = "<img src='$LJ::IMGPREFIX/profile_icons/" . ($ua_position->{result}->{position}!=0 ? 'social-capital.png?v=17298' : 'korona.png?v=17319') . "'/>";
-                $soc_capital = int($position->{result}->{value}/1000);
+                $soc_capital = int($ua_position->{result}->{value}/1000);
                 $soc_capital = $soc_capital < 10 ? ' <10 ' : LJ::commafy($soc_capital);
                 $body .= "<li class='rating-place'>" .
                          $diagram_image .

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