From 706d83ffeb980a6444573327312b4056b1e84ac4 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Mon, 18 Jul 2011 11:56:39 -0400 Subject: Bug 670906 - Make it so delta_ts is only updated when there are changes. Fix regression from bug 620827. r=timello, a=lpsolit. --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 369c6669d..2ab4a6bff 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -961,7 +961,7 @@ sub update { $_->insert_create_data($_) foreach @$added_see; # If any changes were found, record it in the activity log - if (scalar $removed_see || scalar $added_see) { + if (scalar @$removed_see || scalar @$added_see) { $changes->{see_also} = [join(', ', map { $_->name } @$removed_see), join(', ', map { $_->name } @$added_see)]; } -- cgit v1.2.3-24-g4f1b