slartyblartfast (slartyblartfast) wrote in changelog,
slartyblartfast
slartyblartfast
changelog

[livejournal] r16163: Bugfix: Odd elements in hash.

Committer: mchernyshev
Bugfix: Odd elements in hash.
U   trunk/cgi-bin/LJ/Widget/QotD.pm
Modified: trunk/cgi-bin/LJ/Widget/QotD.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/QotD.pm	2010-01-28 10:20:18 UTC (rev 16162)
+++ trunk/cgi-bin/LJ/Widget/QotD.pm	2010-01-28 10:32:36 UTC (rev 16163)
@@ -60,7 +60,7 @@
     return $ret;
 }
 
-my %cyr_countries = map { lc $_, $_ => $_ } qw(AM AZ BY EE GE KG KZ LT LV MD RU TJ TM UA UZ);
+my %cyr_countries = map {lc} map { $_ => $_ } qw(AM AZ BY EE GE KG KZ LT LV MD RU TJ TM UA UZ);
 
 sub community_name {
     my $class = shift;

Tags: livejournal, pm, slartyblartfast
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