Committer: ailyin
LJSUP-11976 (refactor methods working with infohistory into classes of its own)U trunk/cgi-bin/LJ/User/InfoHistory.pm
Modified: trunk/cgi-bin/LJ/User/InfoHistory.pm =================================================================== --- trunk/cgi-bin/LJ/User/InfoHistory.pm 2012-04-27 11:15:14 UTC (rev 21825) +++ trunk/cgi-bin/LJ/User/InfoHistory.pm 2012-04-27 11:38:40 UTC (rev 21826) @@ -45,7 +45,7 @@ if ( ref $what eq 'ARRAY' ) { my %acceptable_what = map { $_ => 1 } @$what; - return [ grep { $acceptable_what{ $_->what } } @$records; + return [ grep { $acceptable_what{ $_->what } } @$records ]; } else { return [ grep { $_->what eq $what } @$records ]; }