summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-08-06 18:21:06 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-06 18:21:06 +0200
commit5da9fee9963bd0e9b7323337952f304bcfa26128 (patch)
tree75328c165baf3457da53e7313ea0290fd484dd11 /Bugzilla/WebService
parentd137239ad187289d38a630664c635119356d6338 (diff)
downloadbugzilla-5da9fee9963bd0e9b7323337952f304bcfa26128.tar.gz
bugzilla-5da9fee9963bd0e9b7323337952f304bcfa26128.tar.xz
Bug 1481207 - POST /rest/bug_user_last_visit returns random number instead of bug ID
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/BugUserLastVisit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/WebService/BugUserLastVisit.pm b/Bugzilla/WebService/BugUserLastVisit.pm
index 7b729c6c8..5e4c0d2ba 100644
--- a/Bugzilla/WebService/BugUserLastVisit.pm
+++ b/Bugzilla/WebService/BugUserLastVisit.pm
@@ -52,7 +52,7 @@ sub update {
push(
@results,
$self->_bug_user_last_visit_to_hash(
- $bug, $last_visit_ts, $params
+ $bug_id, $last_visit_ts, $params
));
}
$dbh->bz_commit_transaction();