From dee37d0636b3fa9572e516e61de0ee2ab74b6fc6 Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Tue, 15 Dec 2015 20:11:25 -0500 Subject: 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. --- Bugzilla/WebService/BugUserLastVisit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/WebService/BugUserLastVisit.pm') diff --git a/Bugzilla/WebService/BugUserLastVisit.pm b/Bugzilla/WebService/BugUserLastVisit.pm index 3ee8cac03..498dd9044 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->bug_id, $last_visit_ts, $params )); } $dbh->bz_commit_transaction(); -- cgit v1.2.3-24-g4f1b