summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Bug.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index f24f7a4d2..ff8f651e4 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -2480,9 +2480,11 @@ sub set_all {
}
if (exists $params->{alias} && $params->{alias}{set}) {
+ my ($removed_aliases, $added_aliases) = diff_arrays(
+ $self->alias, $params->{alias}{set});
$params->{alias} = {
- add => $params->{alias}{set},
- remove => $self->alias,
+ add => $added_aliases,
+ remove => $removed_aliases,
};
}