alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r12424: LJSUP-13151: Sony branding of main page

Committer: afedorov
LJSUP-13151: Sony branding of main page

U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-08-06 14:46:14 UTC (rev 12423)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-08-06 15:00:58 UTC (rev 12424)
@@ -26,7 +26,7 @@
 sub LJ::_is_branding_active {
     my %opts = @_;
     
-    my $countries = ( ref(%opts{countries}) eq 'ARRAY' ) ? %opts{countries} : ['RU']; 
+    my $countries = ( ref($opts{countries}) eq 'ARRAY' ) ? $opts{countries} : ['RU']; 
  
     ## Only homepage must be branded 
     return unless LJ::Request->hostname eq "www.$LJ::DOMAIN"; 

Tags: afedorov, ljcom, pm, red_alf
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