vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21144: LJSUP-11195: fix get_multi usage

Committer: vad
LJSUP-11195: fix get_multi usage
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-02-08 21:23:07 UTC (rev 21143)
+++ trunk/cgi-bin/LJ/User.pm	2012-02-08 21:56:03 UTC (rev 21144)
@@ -7149,7 +7149,7 @@
     }
 
     ## username to userid
-    my $uids = LJ::MemCache::get_multi([ map {"uidof:$_"} keys %need ]);
+    my $uids = LJ::MemCache::get_multi( map {"uidof:$_"} keys %need );
     my $us = LJ::load_userids( values %$uids );
     while (my ($k, $v) = each %loaded){
         $us->{$k} = $v;

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