From 5b6fa898d595bd1b7526c696e71452d953fe8b3f Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 4 Oct 2010 04:30:39 +0000 Subject: [PATCH] BUGFIX: column and table names now quoted properly (from r100998) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111564 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/FormScaffolder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/FormScaffolder.php b/forms/FormScaffolder.php index 9941244d4..b0e7c735d 100755 --- a/forms/FormScaffolder.php +++ b/forms/FormScaffolder.php @@ -125,7 +125,7 @@ class FormScaffolder extends Object { $component, $relationshipFields, "getCMSFields", - "$foreignKey = " . $this->obj->ID + "\"$foreignKey\" = " . $this->obj->ID ); $ctf->setPermissions(TableListField::permissions_for_object($component)); if($this->tabbed) {