holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12816: LJSUP-14029: VK like is visible for non-...

Committer: akanashin
LJSUP-14029: VK like is visible for non-cyr users
U   trunk/cgi-bin/LJ/CleanHtml/Like.pm
Modified: trunk/cgi-bin/LJ/CleanHtml/Like.pm
===================================================================
--- trunk/cgi-bin/LJ/CleanHtml/Like.pm	2012-10-24 08:17:16 UTC (rev 12815)
+++ trunk/cgi-bin/LJ/CleanHtml/Like.pm	2012-10-24 08:54:43 UTC (rev 12816)
@@ -50,7 +50,7 @@
                             tumblr
                         )];
 
-        if (($remote && LJ::SUP->is_remote_sup()) || LJ::SUP::is_sup_ip()) {
+        if (($remote && LJ::SUP->is_remote_sup()) || (!$remote && LJ::SUP::is_sup_ip())) {
             push @$buttons_list, 'vkontakte', 'surfingbird';
         }
 

Tags: akanashin, holyandrew, ljcom, pm
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