Skip Menu |

This queue is for tickets about the Net-Digg CPAN distribution.

Report information
The Basics
Id: 43091
Status: new
Priority: 0/
Queue: Net-Digg

People
Owner: Nobody in particular
Requestors: erik [...] escapistmag.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.11
Fixed in: (no value)



Subject: Patch for multiple user queries
For the get_diggs_by_userids() function, it doesn't seem to actually handle multiple user ids passed to the function: sub get_diggs_by_userids { my $self = shift; my @ids = shift; my $queryargs = shift; A manual patch that might do the trick is changing the second line to: my @ids = splice(@_, 0,-1); Although, this breaks if a person has an array with queryargs after it. Which would require either making the query args first, testing for hashref, or forcing the array to be passed by reference. This effects other usage as well, so I'll leave it up to you. --- This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi Version included, but this is more of a logic error, so spec info not really appropriate. Thanks!