We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1667d2 + fd7f033 commit 7023de1Copy full SHA for 7023de1
Classes/Template.php
@@ -201,7 +201,8 @@ public function isApplicable(array $context)
201
protected function setProperties(NodeInterface $node, array $context)
202
{
203
foreach ($this->properties as $propertyName => $propertyValue) {
204
- if (preg_match(\Neos\Eel\Package::EelExpressionRecognizer, $propertyValue)) {
+ //evaluate Eel only on string properties
205
+ if (is_string($propertyValue) && preg_match(\Neos\Eel\Package::EelExpressionRecognizer, $propertyValue)) {
206
$this->persistenceManager->persistAll();
207
$propertyValue = $this->eelEvaluationService->evaluateEelExpression($propertyValue, $context);
208
}
0 commit comments