From: Dylan William Hardison Date: Wed, 10 Jun 2015 18:34:35 +0000 (-0400) Subject: Bug 1169395: BugUserLastVisit does not allow multiple bugs to be specified X-Git-Tag: release-5.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff377b44c9edc72e8ce9dd26723d3ea5b940eae1;p=thirdparty%2Fbugzilla.git Bug 1169395: BugUserLastVisit does not allow multiple bugs to be specified r=dkl,a=glob --- diff --git a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm index a434d4befa..8502d6b3b5 100644 --- a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm +++ b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm @@ -22,13 +22,13 @@ sub _rest_resources { GET => { method => 'get', params => sub { - return { ids => $_[0] }; + return { ids => [$_[0]] }; }, }, POST => { method => 'update', params => sub { - return { ids => $_[0] }; + return { ids => [$_[0]] }; }, }, },