Commit edaf6506 authored by Frédéric Buclin's avatar Frédéric Buclin
parent b4e1dbdc
...@@ -336,7 +336,7 @@ sub diff_arrays { ...@@ -336,7 +336,7 @@ sub diff_arrays {
$old[$old_pos] = undef; $old[$old_pos] = undef;
} }
} }
# Ignore cancelled items as well as empty strings. # Ignore canceled items as well as empty strings.
my @removed = grep { defined $_ && $_ ne '' } @old; my @removed = grep { defined $_ && $_ ne '' } @old;
return (\@removed, \@added); return (\@removed, \@added);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment