]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1053513 - fix patching error
authorDylan William Hardison <dylan@hardison.net>
Wed, 10 Sep 2014 15:29:14 +0000 (11:29 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 10 Sep 2014 15:31:11 +0000 (11:31 -0400)
I yearn for review board and more git-based development.

Bugzilla/Bug.pm

index e7e4e898b4282a5a1ac6504861a71d942e910c40..3aba1774acadbda75726c25a52034965009ad3fd 100644 (file)
@@ -1141,7 +1141,7 @@ sub update {
     my $last_visits =
       Bugzilla::BugUserLastVisit->match({ bug_id => $self->id });
     foreach my $lv (@$last_visits) {
-        $lv->remove_from_db() unless $lv->user->is_involved_with_bug($self);
+        $lv->remove_from_db() unless $lv->user->is_involved_in_bug($self);
     }
 
     # Update bug ignore data if user wants to ignore mail for this bug