Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r23529: LJSUP-14783 (There are no russian text v...

Committer: ailyin
LJSUP-14783 (There are no russian text variables on 451 Error page)
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2013-01-11 08:49:06 UTC (rev 23528)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2013-01-11 13:55:30 UTC (rev 23529)
@@ -451,6 +451,7 @@
     if ($middleware_response) {
         LJ::Request->handler('perl-script');
         LJ::Request->set_handlers( 'PerlHandler' => sub {
+            LJ::Lang::current_language(undef);
             my $result = eval { $middleware_response->output; 1 };
             warn $@ unless $result;
             return LJ::Request::DONE;

Tags: ailyin, andy, livejournal, 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