Skip to content
Browse files

make extract_rows actually use the passed parameter

  • Loading branch information...
1 parent 3311fcd commit 549d93851801a7722f5d901b8007f81e9a84d972 @wchristian wchristian committed Nov 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Net/LastFMAPI.pm
View
2 lib/Net/LastFMAPI.pm
@@ -298,10 +298,10 @@ sub _rowify_content {
}
sub extract_rows {
+ my ( $rs ) = @_;
if (!$last_params{format}) {
croak "returning rows from xml is not supported";
}
- my $rs = $last_response;
my @rk = keys %$rs;
my $r = $rs->{$rk[0]};
my @ks = sort keys %$r;

0 comments on commit 549d938

Please sign in to comment.
Something went wrong with that request. Please try again.