diff --git a/code/model/recipients/UserDefinedForm_EmailRecipientCondition.php b/code/model/recipients/UserDefinedForm_EmailRecipientCondition.php index 60d7379..0d752ee 100644 --- a/code/model/recipients/UserDefinedForm_EmailRecipientCondition.php +++ b/code/model/recipients/UserDefinedForm_EmailRecipientCondition.php @@ -47,7 +47,7 @@ class UserDefinedForm_EmailRecipientCondition extends DataObject { default: $matches = is_array($fieldValue) ? in_array($this->ConditionValue, $fieldValue) - : $this->ConditionValue === (string)$fieldValue; + : $this->ConditionValue === (string) $fieldValue; return ($this->ConditionOption === 'Equals') === (bool)$matches; } }