brought back checkcontent hook full-content compat.
This modification was initially done in editpage, in commit
a3726968bc
, but was then lost while merging
upstream/master branch.
Signed-off-by: intrigeri <intrigeri@boum.org>
master
parent
1efb182d56
commit
8fed4206cb
|
@ -1337,7 +1337,7 @@ sub check_content (@) {
|
||||||
foreach my $line (split("\n", $params{content})) {
|
foreach my $line (split("\n", $params{content})) {
|
||||||
push @diff, $line if ! exists $old{$_};
|
push @diff, $line if ! exists $old{$_};
|
||||||
}
|
}
|
||||||
$params{content}=join("\n", @diff);
|
$params{diff}=join("\n", @diff);
|
||||||
}
|
}
|
||||||
|
|
||||||
my $ok;
|
my $ok;
|
||||||
|
|
Loading…
Reference in New Issue