From: Dylan William Hardison Date: Wed, 10 Jun 2015 18:21:12 +0000 (-0400) Subject: Bug 1169395: BugUserLastVisit does not allow multiple bugs to be specified X-Git-Tag: release-5.1.1~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7186b647fb8c3f482a302863538c5cb68a7ff50a;p=thirdparty%2Fbugzilla.git Bug 1169395: BugUserLastVisit does not allow multiple bugs to be specified r=dkl,a=glob --- diff --git a/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm b/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm index 7568fc30ff..fd25524f96 100644 --- a/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm +++ b/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm @@ -41,13 +41,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]] }; }, }, },