diff options
author | Gervase Markham <gerv@gerv.net> | 2011-07-18 11:56:39 -0400 |
---|---|---|
committer | Gervase Markham <gerv@mozilla.org> | 2011-07-18 11:56:39 -0400 |
commit | 706d83ffeb980a6444573327312b4056b1e84ac4 (patch) | |
tree | 7652a25d815e24f2bde84a71d6b270acfeb92ce0 | |
parent | 2ceff04544490ec387f50ca1d406f4689d63fc6a (diff) | |
download | bugs-706d83ffeb980a6444573327312b4056b1e84ac4.tar bugs-706d83ffeb980a6444573327312b4056b1e84ac4.tar.gz bugs-706d83ffeb980a6444573327312b4056b1e84ac4.tar.bz2 bugs-706d83ffeb980a6444573327312b4056b1e84ac4.tar.xz bugs-706d83ffeb980a6444573327312b4056b1e84ac4.zip |
Bug 670906 - Make it so delta_ts is only updated when there are changes. Fix regression from bug 620827. r=timello, a=lpsolit.
-rw-r--r-- | Bugzilla/Bug.pm | 2 |
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)]; } |