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

Owner: Nobody in particular
Requestors: erik [...]

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

Subject: Patch for multiple user queries
Download (untitled) / with headers
text/plain 745b
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!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to