fix typo
This was probably not noticed because it only results in a warning, and in the checkcontent diff having some unchanged lines in it.master
parent
2bceb10b5f
commit
c0e938e972
|
@ -1407,7 +1407,7 @@ sub check_content (@) {
|
|||
my %old=map { $_ => 1 }
|
||||
split("\n", readfile(srcfile($pagesources{$params{page}})));
|
||||
foreach my $line (split("\n", $params{content})) {
|
||||
push @diff, $line if ! exists $old{$_};
|
||||
push @diff, $line if ! exists $old{$line};
|
||||
}
|
||||
$params{diff}=join("\n", @diff);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue