summaryrefslogtreecommitdiffstats
path: root/Bugzilla/API/1_0/Resource
diff options
context:
space:
mode:
authorDylan Hardison <dylan@mozilla.com>2015-12-16 02:11:25 +0100
committerDylan Hardison <dylan@mozilla.com>2015-12-16 02:11:25 +0100
commitdee37d0636b3fa9572e516e61de0ee2ab74b6fc6 (patch)
tree8cc0db8c578f052b06f42b28675eeaadcd4559ae /Bugzilla/API/1_0/Resource
parent9215fb96c1131d3ebcb77074e01c9a24a40d04a2 (diff)
downloadbugzilla-dee37d0636b3fa9572e516e61de0ee2ab74b6fc6.tar.gz
bugzilla-dee37d0636b3fa9572e516e61de0ee2ab74b6fc6.tar.xz
Bug 1169181 - The bug_user_last_visit method returns an empty array for old bugs
r=dkl,a=dkl bringing this in line with the 5.0 fix because it's too simple to pass up.
Diffstat (limited to 'Bugzilla/API/1_0/Resource')
-rw-r--r--Bugzilla/API/1_0/Resource/BugUserLastVisit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm b/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm
index 1d2d4f582..1cb12a05a 100644
--- a/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm
+++ b/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm
@@ -87,7 +87,7 @@ sub update {
push(
@results,
_bug_user_last_visit_to_hash(
- $bug, $last_visit_ts, $params
+ $bug->bug_id, $last_visit_ts, $params
));
}
$dbh->bz_commit_transaction();