Files
Fabien Potencier e56cdfdded bug #4778 Fix null coalescing operator with imported macros (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Fix null coalescing operator with imported macros

Closes #4776

When using the null coalescing operator with a macro imported via the `from` tag, the `TemplateVariable` node inside `MacroReferenceExpression` was deep-cloned, causing the clone to generate a different `$macros` key than the one assigned by `AssignTemplateVariable`. This resulted in a `Call to a member function hasMacro() on null` error.

Commits
-------

efa004caab Fix null coalescing operator with imported macros
2026-02-25 10:38:36 +01:00
..
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2026-02-07 09:07:38 +01:00
2026-02-07 09:07:38 +01:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2026-02-07 09:07:38 +01:00
2024-07-05 07:59:36 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2026-02-07 09:07:38 +01:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2026-02-07 09:07:38 +01:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00