summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-07-18 17:56:39 +0200
committerGervase Markham <gerv@mozilla.org>2011-07-18 17:56:39 +0200
commit706d83ffeb980a6444573327312b4056b1e84ac4 (patch)
tree7652a25d815e24f2bde84a71d6b270acfeb92ce0 /Bugzilla
parent2ceff04544490ec387f50ca1d406f4689d63fc6a (diff)
downloadbugzilla-706d83ffeb980a6444573327312b4056b1e84ac4.tar.gz
bugzilla-706d83ffeb980a6444573327312b4056b1e84ac4.tar.xz
Bug 670906 - Make it so delta_ts is only updated when there are changes. Fix regression from bug 620827. r=timello, a=lpsolit.
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
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)];
}