summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)];
}