diff options
author | Thorsten Schöning <tschoening@am-soft.de> | 2016-03-09 23:22:17 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2016-03-09 23:22:17 +0100 |
commit | 7621e45539668c56a8f7b83a46a05a9e5aca79b0 (patch) | |
tree | f87e43e8ab10c197ddc56fd5a1e1dbdadb6ff186 | |
parent | eb323eb6db292aa9fb705ceaff9c94b3a7a74c4d (diff) | |
download | bugs-7621e45539668c56a8f7b83a46a05a9e5aca79b0.tar bugs-7621e45539668c56a8f7b83a46a05a9e5aca79b0.tar.gz bugs-7621e45539668c56a8f7b83a46a05a9e5aca79b0.tar.bz2 bugs-7621e45539668c56a8f7b83a46a05a9e5aca79b0.tar.xz bugs-7621e45539668c56a8f7b83a46a05a9e5aca79b0.zip |
Bug 1250908: "Use of uninitialized value" warning thrown when creating a new bug depending or blocking another one
r=LpSolit a=dkl
-rw-r--r-- | Bugzilla/BugMail.pm | 4 |
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} // ''); } } |