From 8fed4206cbeddd3c65c14efae69776f17f5fb78b Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 8 Mar 2009 16:02:10 +0100 Subject: [PATCH] brought back checkcontent hook full-content compat. This modification was initially done in editpage, in commit a3726968bc13f19f458c372cbd7cf92ae4c6fce5, but was then lost while merging upstream/master branch. Signed-off-by: intrigeri --- IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index f580d1f0d..2640f85a2 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1337,7 +1337,7 @@ sub check_content (@) { foreach my $line (split("\n", $params{content})) { push @diff, $line if ! exists $old{$_}; } - $params{content}=join("\n", @diff); + $params{diff}=join("\n", @diff); } my $ok; -- 2.26.2