From 2c1974eae2c2021f22c40b465be394822caba5d1 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sun, 16 May 2010 03:19:29 +0000 Subject: [PATCH] BUGFIX: fixed using UDF with the workflow module which only publishs a page when its been modified and UDF was always returning false to any changes --- code/editor/FieldEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/editor/FieldEditor.php b/code/editor/FieldEditor.php index 5bdfc9d..45eb8d6 100755 --- a/code/editor/FieldEditor.php +++ b/code/editor/FieldEditor.php @@ -128,7 +128,7 @@ class FieldEditor extends FormField { // get it from the db $editable = DataObject::get_by_id('EditableFormField', $newEditableID); - + // if it exists in the db update it if($editable) {