]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editpage.pm
make checkcontent compatible with hooks that need the full content
[git.ikiwiki.info.git] / IkiWiki / Plugin / editpage.pm
index 658d664af38d76b330ae9c27b74e77e5f28172a6..4540b55d058624743d7c6a31be6b31612211f47c 100644 (file)
@@ -93,7 +93,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;