summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@mozilla.com>2015-06-10 20:21:12 +0200
committerDylan William Hardison <dylan@hardison.net>2015-06-10 20:21:12 +0200
commit7186b647fb8c3f482a302863538c5cb68a7ff50a (patch)
tree5c1e287c42f7285ce3d80cec2eef5313d5e6e1d9 /Bugzilla
parenta75ccc2537398e6c584e159d3a08faedc91ffcc0 (diff)
downloadbugzilla-7186b647fb8c3f482a302863538c5cb68a7ff50a.tar.gz
bugzilla-7186b647fb8c3f482a302863538c5cb68a7ff50a.tar.xz
Bug 1169395: BugUserLastVisit does not allow multiple bugs to be specified
r=dkl,a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/API/1_0/Resource/BugUserLastVisit.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm b/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm
index 7568fc30f..fd25524f9 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]] };
},
},
},