[SS-2017-004] FIX Unescaped fields in CMSPageHistroyController::compare()

This commit is contained in:
Daniel Hensby 2017-05-09 15:55:00 +01:00
parent cfef458a00
commit 61cf72c08d
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -409,11 +409,7 @@ class CMSPageHistoryController extends CMSMain {
"ID" => $id,
"Version" => $fromVersion,
));
foreach($form->Fields()->dataFields() as $field) {
$field->dontEscape = true;
}
return $form;
}