]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
fix typo
[git.ikiwiki.info.git] / IkiWiki.pm
index 3430c57420df18fc02ea6bca88229534d5b59d15..b8e599928678d31ab918cb629da94d95a35b7b1e 100644 (file)
@@ -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);
        }