Committer: sbelyaev
LJSUP-13822: Widgets do not change languageU trunk/cgi-bin/LJ/Widget/UpdatesForUser.pm
Modified: trunk/cgi-bin/LJ/Widget/UpdatesForUser.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/UpdatesForUser.pm 2012-10-02 11:16:16 UTC (rev 12714) +++ trunk/cgi-bin/LJ/Widget/UpdatesForUser.pm 2012-10-02 11:22:12 UTC (rev 12715) @@ -19,7 +19,8 @@ my $remote = LJ::get_remote(); - my $cached_key = "update_for_users:" . $remote->userid; + my $lncode = LJ::Lang::get_effective_lang(); + my $cached_key = "update_for_users:" . $remote->useridi . ":$lncode"; my $cache_data = LJ::MemCache::get($cached_key); if ($cache_data) { return $cache_data;