[TASK] Add TYPO3 10 compatibilty for ObjectUtility
This commit is contained in:
parent
1d5c949477
commit
ef5eb1b03f
@ -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'
|
||||
) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user