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!