"webservice attachments by ids" patch--it looks like a part of the patch
was just missing or something when it was posted to bmo. I've fixed it now.
sub attachments {
my ($self, $params) = validate(@_, 'ids', 'attachment_ids');
- my $ids = $params->{ids};
- defined $ids || ThrowCodeError('param_required', { param => 'ids' });
-
if (!(defined $params->{ids}
- || defined $params->{attachment_ids}))
+ or defined $params->{attachment_ids}))
{
ThrowCodeError('param_required',
{ function => 'Bug.attachments',