From 05fcdb6f41e73e57fbc1c6ae6c754d321cb95547 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Mon, 28 Aug 2017 17:41:04 +1200 Subject: [PATCH] FIX Typo in userforms form field class name --- _config/spamprotection.yml | 2 +- code/EditableSpamProtectionField.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_config/spamprotection.yml b/_config/spamprotection.yml index 5d34909..0af811d 100644 --- a/_config/spamprotection.yml +++ b/_config/spamprotection.yml @@ -1,5 +1,5 @@ --- -name: spamprotection +Name: spamprotection --- SilverStripe\Forms\Form: extensions: diff --git a/code/EditableSpamProtectionField.php b/code/EditableSpamProtectionField.php index 6159736..22e2027 100644 --- a/code/EditableSpamProtectionField.php +++ b/code/EditableSpamProtectionField.php @@ -18,7 +18,7 @@ use SilverStripe\UserForms\Model\EditableFormField\EditableTextField; /** * @todo The userforms namespaces may still change, as the branch is not merged in yet */ -if (!class_exists(EditableFormFields::class)) { +if (!class_exists(EditableFormField::class)) { return; }