From c82bae1def143e161985f0bbdb74b5d128ee718e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 9 Jan 2012 17:16:39 +0100 Subject: [PATCH] BUGFIX Prepopulating relation list in FormScaffolder --- forms/FormScaffolder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" );