mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-09-30 05:09:07 +02:00
[SS-2017-004] FIX Unescaped fields in CMSPageHistroyController::compare()
This commit is contained in:
parent
cfef458a00
commit
61cf72c08d
@ -410,10 +410,6 @@ class CMSPageHistoryController extends CMSMain {
|
|||||||
"Version" => $fromVersion,
|
"Version" => $fromVersion,
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach($form->Fields()->dataFields() as $field) {
|
|
||||||
$field->dontEscape = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user