Skip to content

Commit

Permalink
Merge branch '1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebobo committed Jul 13, 2020
2 parents 457c8b3 + 57e952a commit 266d213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ protected function setProperties(NodeInterface $node, array $context)
$this->persistenceManager->persistAll();
$propertyValue = $this->eelEvaluationService->evaluateEelExpression($propertyValue, $context);
}
if ($propertyName{0} === '_') {
if ($propertyName[0] === '_') {
ObjectAccess::setProperty($node, substr($propertyName, 1), $propertyValue);
} else {
$node->setProperty($propertyName, $propertyValue);
Expand Down

0 comments on commit 266d213

Please sign in to comment.