From 201282874f9b35d483f8528e45b36f9f5338e0a4 Mon Sep 17 00:00:00 2001 From: Andrew Aitken-Fincham Date: Wed, 14 Feb 2018 15:02:27 +0000 Subject: [PATCH] revert UDF has_one to DO has_one --- code/Model/Recipient/EmailRecipient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Model/Recipient/EmailRecipient.php b/code/Model/Recipient/EmailRecipient.php index 23213ab..8262fd5 100644 --- a/code/Model/Recipient/EmailRecipient.php +++ b/code/Model/Recipient/EmailRecipient.php @@ -61,7 +61,7 @@ class EmailRecipient extends DataObject ]; private static $has_one = [ - 'Form' => UserDefinedForm::class, + 'Form' => DataObject::class, 'SendEmailFromField' => EditableFormField::class, 'SendEmailToField' => EditableFormField::class, 'SendEmailSubjectField' => EditableFormField::class