summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index fd0111578..f3a28658a 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -931,6 +931,7 @@ sub update {
}
# See Also
+ my @old_see_also = @{ $old_bug->see_also };
foreach my $field_values (@{ $self->{added_see_also} || [] }) {
my $class = delete $field_values->{class};
$class->insert_create_data($field_values);
@@ -940,7 +941,7 @@ sub update {
delete $self->{added_see_also};
my ($removed_see, $added_see) =
- diff_arrays($old_bug->see_also, $self->see_also);
+ diff_arrays(\@old_see_also, $self->see_also);
if (scalar @$removed_see) {
$dbh->do('DELETE FROM bug_see_also WHERE bug_id = ? AND '