mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
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
This commit is contained in:
parent
f9152b6108
commit
2c1974eae2
@ -128,7 +128,7 @@ class FieldEditor extends FormField {
|
|||||||
|
|
||||||
// get it from the db
|
// get it from the db
|
||||||
$editable = DataObject::get_by_id('EditableFormField', $newEditableID);
|
$editable = DataObject::get_by_id('EditableFormField', $newEditableID);
|
||||||
|
|
||||||
// if it exists in the db update it
|
// if it exists in the db update it
|
||||||
if($editable) {
|
if($editable) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user