Committer: ailyin
LJSUP-7462 (refactor userprops): bugfixU trunk/cgi-bin/LJ/User/PropStorage.pm
Modified: trunk/cgi-bin/LJ/User/PropStorage.pm =================================================================== --- trunk/cgi-bin/LJ/User/PropStorage.pm 2010-11-29 08:19:49 UTC (rev 17812) +++ trunk/cgi-bin/LJ/User/PropStorage.pm 2010-11-29 09:23:41 UTC (rev 17813) @@ -80,7 +80,7 @@ my $propid = $propinfo->{'id'}; my $memkey = $class->memcache_key($u, $k); - $propid_map{$propid} = $k; + $propid_map{$k} = $propid; push @memkeys, [ $userid, $memkey ]; } @@ -92,7 +92,7 @@ next unless exists $from_memcache->{$memkey}; - $ret{ $propid_map{$k} } = $from_memcache->{$memkey}; + $ret{ $k } = $from_memcache->{$memkey}; } return \%ret;