Bug #52425 ยป patch.diff

Michael Gerdemann, 2013-10-01 11:52

View differences:

TYPO3.Flow_neu/Classes/TYPO3/Flow/Validation/Validator/AbstractValidator.php 2013-10-01 11:37:03.495363921 +0200
64 64
		array_walk(
65 65
			$this->supportedOptions,
66 66
			function($supportedOptionData, $supportedOptionName, $options) {
67
				if (isset($supportedOptionData[3]) && !array_key_exists($supportedOptionName, $options)) {
67
				if (isset($supportedOptionData[3]) && $supportedOptionData[3] && !array_key_exists($supportedOptionName, $options)) {
68 68
					throw new \TYPO3\Flow\Validation\Exception\InvalidValidationOptionsException('Required validation option not set: ' . $supportedOptionName, 1339163902);
69 69
				}
70 70
			},
    (1-1/1)