adding a space before casting into a different type

This commit is contained in:
Peter Thaleikis 2015-09-11 00:08:02 +12:00
parent d53a66353b
commit e7a61dc815

View File

@ -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;
}
}