From 31f8f35626b58cc2e723c70f0b219b2e960fcd5b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 14 Mar 2012 17:19:28 +0100 Subject: [PATCH] BUGFIX Fixed duplicate relationship name which confused GridField --- code/Company.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Company.php b/code/Company.php index 5292570..8a170a2 100644 --- a/code/Company.php +++ b/code/Company.php @@ -15,7 +15,7 @@ class Company extends DataObject { public static $has_one = array( 'RelationFieldsTestPage' => 'RelationFieldsTestPage', - 'GridFieldTestPage' => 'GridFieldTestPage' + 'GridFieldTestPageHasOne' => 'GridFieldTestPage' ); public static $has_many = array(