diff options
Diffstat (limited to 'extensions/InlineHistory/Extension.pm')
-rw-r--r-- | extensions/InlineHistory/Extension.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/InlineHistory/Extension.pm b/extensions/InlineHistory/Extension.pm index c48405eb9..86536719f 100644 --- a/extensions/InlineHistory/Extension.pm +++ b/extensions/InlineHistory/Extension.pm @@ -155,11 +155,13 @@ sub template_before_process { 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; } |