Committer: sbelyaev
LJSUP-13301: Main page optimizationU trunk/cgi-bin/LJ/Nav.pm
Modified: trunk/cgi-bin/LJ/Nav.pm =================================================================== --- trunk/cgi-bin/LJ/Nav.pm 2012-08-20 10:11:40 UTC (rev 12496) +++ trunk/cgi-bin/LJ/Nav.pm 2012-08-20 12:02:59 UTC (rev 12497) @@ -25,7 +25,8 @@ my $memcache_key; if ($remote) { my $journalid = $remote->userid; - my $bl = LJ::Lang::get_lang($remote->prop('browselang')); + my $bl = LJ::Lang::get_lang($remote->prop('browselang')) || + $LJ::DEFAULT_LANG; $memcache_key = "navbar:$scheme:$journalid:$bl" . $LJ::CURRENT_VERSION;