]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editpage.pm
avoid standalone -e or foo syntax
[git.ikiwiki.info.git] / IkiWiki / Plugin / editpage.pm
index c206d96a44f521200861271bd2256a03b49ccfa2..480e82804a3beb599df3969d788508dd550bccb6 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;