From 16a74bc8a9fdee7cfb4f6f24493c271f90a76341 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Sun, 28 May 2017 23:59:00 +0100 Subject: [PATCH] FIX DataDifferencer needs to expliclty cast HTMLText values --- model/DataDifferencer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/DataDifferencer.php b/model/DataDifferencer.php index 0c33b1206..0cd573259 100644 --- a/model/DataDifferencer.php +++ b/model/DataDifferencer.php @@ -103,7 +103,7 @@ class DataDifferencer extends ViewableData { // Show changes between the two, if any exist if($fromValue != $toValue) { - $diffed->setField($field, Diff::compareHTML($fromValue, $toValue)); + $diffed->setField($field, DBField::create_field('HTMLText', Diff::compareHTML($fromValue, $toValue))); } }