Skip to content

Commit 266d213

Browse files
committed
Merge branch '1.1'
2 parents 457c8b3 + 57e952a commit 266d213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Template.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ protected function setProperties(NodeInterface $node, array $context)
205205
$this->persistenceManager->persistAll();
206206
$propertyValue = $this->eelEvaluationService->evaluateEelExpression($propertyValue, $context);
207207
}
208-
if ($propertyName{0} === '_') {
208+
if ($propertyName[0] === '_') {
209209
ObjectAccess::setProperty($node, substr($propertyName, 1), $propertyValue);
210210
} else {
211211
$node->setProperty($propertyName, $propertyValue);

0 commit comments

Comments
 (0)