Skip to content

Commit 89c96d5

Browse files
authored
Merge pull request #16 from netgen-layouts/fix/twig-defined-test
Avoid using functions for DEFINED test
2 parents 5609707 + 57621c3 commit 89c96d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
{{ nglayouts_sylius_product_name(target.value) ?? '(INVALID PRODUCT)' }}
1+
{% set product_name = nglayouts_sylius_product_name(target.value) %}
2+
3+
{{ product_name ?? '(INVALID PRODUCT)' }}

0 commit comments

Comments
 (0)