wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r15648: fixed: ?land=debug leads die in /statist...

Committer: gprochaev
fixed: ?land=debug leads die in /statistics/


U   trunk/cgi-bin/ljlang.pl
Modified: trunk/cgi-bin/ljlang.pl
===================================================================
--- trunk/cgi-bin/ljlang.pl	2009-08-27 14:13:01 UTC (rev 15647)
+++ trunk/cgi-bin/ljlang.pl	2009-08-31 07:09:36 UTC (rev 15648)
@@ -570,6 +570,8 @@
     my ($lang, $dmid, $codes) = @_;
 
     return {} unless $codes;
+    return { map {$_ => $_} @$codes }
+        if $lang eq 'debug';
 
     $dmid = int($dmid || 1);
     $lang ||= $LJ::DEFAULT_LANG;

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