Merge pull request #329 from spekulatius/adding-space-before-casing

adding a space before casting into a different type
This commit is contained in:
Christopher Pitt 2015-09-11 07:31:31 +12:00
commit 99e771f942
1 changed files with 1 additions and 1 deletions

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