« Previous | Next » 

Revision 7a06d525

ID7a06d5252f4ab38751a467bd7fa75cff45b2b003
Parent c897a811
Child 4b675cdb

Added by Bastian Waidelich almost 7 years ago

[BUGFIX] Support for ViewHelper usage within layout tags

Previously, when using ViewHelpers in the ``name`` argument of the
``<f:layout />`` tag, the TemplateCompiler threw an exception
``Notice: Undefined variable: self...`` when rendering the compiled
template.

This change fixes this by adding the respective initialization code
before the closure that makes use of ``$self``.

Change-Id: Ie45c92125a8a1f6b1fa0c5e4a5369486361c9c7c
Fixes: #45735
Releases: master, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted