diff options
Diffstat (limited to 'extensions/BugModal/lib/ActivityStream.pm')
-rw-r--r-- | extensions/BugModal/lib/ActivityStream.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/BugModal/lib/ActivityStream.pm b/extensions/BugModal/lib/ActivityStream.pm index 82be3ff53..b25bff861 100644 --- a/extensions/BugModal/lib/ActivityStream.pm +++ b/extensions/BugModal/lib/ActivityStream.pm @@ -245,11 +245,13 @@ sub _add_activities_to_stream { my %flags; foreach my $added (@added) { my ($value, $name) = $added =~ /^((.+).)$/; + next unless defined $name; $flags{$name}{added} = $value; $flags{$name}{removed} |= ''; } foreach my $removed (@removed) { my ($value, $name) = $removed =~ /^((.+).)$/; + next unless defined $name; $flags{$name}{added} |= ''; $flags{$name}{removed} = $value; } |