aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2016-05-15 13:55:11 +0200
committerFrédéric Buclin <LpSolit@netscape.net>2016-05-15 13:55:11 +0200
commitc12c092f9fd84cd0f5b5645f61e29fe1260063dc (patch)
tree8e6b38a23387a537ad091706e6bef58291842d46 /Bugzilla/BugMail.pm
parenta0f06d3134a63b577763e1f272b001182e5e645e (diff)
parent16dd96bdfdadea63e182f0954f06c187cb83e75b (diff)
downloadbugs-c12c092f9fd84cd0f5b5645f61e29fe1260063dc.tar
bugs-c12c092f9fd84cd0f5b5645f61e29fe1260063dc.tar.gz
bugs-c12c092f9fd84cd0f5b5645f61e29fe1260063dc.tar.bz2
bugs-c12c092f9fd84cd0f5b5645f61e29fe1260063dc.tar.xz
bugs-c12c092f9fd84cd0f5b5645f61e29fe1260063dc.zip
Merge branch '5.0' of https://git.mozilla.org/bugzilla/bugzilla
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index d4a1597ab..110a1ffaf 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -169,8 +169,8 @@ sub Send {
}
if ($change->{field_name} eq 'dependson' || $change->{field_name} eq 'blocked') {
- push @referenced_bug_ids, split(/[\s,]+/, $change->{old});
- push @referenced_bug_ids, split(/[\s,]+/, $change->{new});
+ push @referenced_bug_ids, split(/[\s,]+/, $change->{old} // '');
+ push @referenced_bug_ids, split(/[\s,]+/, $change->{new} // '');
}
}