diff --git a/forms/FormScaffolder.php b/forms/FormScaffolder.php index 65f9d64cb..49b4d7560 100644 --- a/forms/FormScaffolder.php +++ b/forms/FormScaffolder.php @@ -157,7 +157,7 @@ class FormScaffolder extends Object { $ctf = new $fieldClass( $this, $relationship, - null, + $this->obj->$relationship(), $relationshipFields, "getCMSFields" );