Commit dee37d06 authored by Dylan Hardison's avatar Dylan Hardison

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.
parent 9215fb96
...@@ -87,7 +87,7 @@ sub update { ...@@ -87,7 +87,7 @@ sub update {
push( push(
@results, @results,
_bug_user_last_visit_to_hash( _bug_user_last_visit_to_hash(
$bug, $last_visit_ts, $params $bug->bug_id, $last_visit_ts, $params
)); ));
} }
$dbh->bz_commit_transaction(); $dbh->bz_commit_transaction();
......
...@@ -52,7 +52,7 @@ sub update { ...@@ -52,7 +52,7 @@ sub update {
push( push(
@results, @results,
$self->_bug_user_last_visit_to_hash( $self->_bug_user_last_visit_to_hash(
$bug, $last_visit_ts, $params $bug->bug_id, $last_visit_ts, $params
)); ));
} }
$dbh->bz_commit_transaction(); $dbh->bz_commit_transaction();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment