holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r21196: LJSUP-11197: If user is in two ratings (...

Committer: akanashin
LJSUP-11197: If user is in two ratings (common and UA) display two strings in profile
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-02-15 11:39:58 UTC (rev 21195)
+++ trunk/htdocs/userinfo.bml	2012-02-15 12:52:20 UTC (rev 21196)
@@ -662,8 +662,7 @@
             $country = $u->prop('country') if $u && $country ne 'UA';
             if ($country eq 'UA') {
                 my $ua_cookie = LJ::Request->cookie('view_ua_ratings') || 'Y';
-                my $ua_prop = $u ? ($u->prop('view_ua_ratings') || 'Y') : 'N';
-                $view_ua_ratings = 1 if $ua_cookie eq 'Y' or $ua_prop eq 'Y';
+                $view_ua_ratings = 1 if $ua_cookie eq 'Y';
                 if ( $view_ua_ratings ) {
                     $ua_position = LJ::PersonalStats::DB->fetch_raw('ratings', {
                         func => 'get_value',

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