summaryrefslogtreecommitdiffstats
path: root/Bugzilla/API
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/API')
-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();