[TASK] Add TYPO3 10 compatibilty for ObjectUtility

This commit is contained in:
Philipp Dieter 2021-12-19 17:42:19 +01:00
parent 1d5c949477
commit ef5eb1b03f

View File

@ -92,6 +92,13 @@ class ObjectUtility
) {
$value = StringUtility::checkAndfixUtf8($value);
$object->_setProperty($property, $value);
} elseif (
get_class($methodType) == 'ReflectionNamedType'
&&
substr($property, -3) != 'Uid'
) {
$value = StringUtility::checkAndfixUtf8($value);
$object->_setProperty($property, $value);
} elseif (
substr($property, -3) === 'Uid'
) {