aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-12-14 18:20:11 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-12-14 18:20:11 -0500
commitc0e938e972dee09c2e70c0a8e57351ec85e69c14 (patch)
tree615ed1d487c8b7f243fc045ac6ce557266182b23 /IkiWiki.pm
parent2bceb10b5fd06e8e0867cbc6d72a16cbaae35803 (diff)
downloadikiwiki-c0e938e972dee09c2e70c0a8e57351ec85e69c14.tar
ikiwiki-c0e938e972dee09c2e70c0a8e57351ec85e69c14.tar.gz
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.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 3430c5742..b8e599928 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -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);
}