mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
adding a space before casting into a different type
This commit is contained in:
parent
d53a66353b
commit
e7a61dc815
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user