« Previous | Next » 

Revision b79dabb1

IDb79dabb14c09a51796c135ab8818e46b4f29905c
Parent 6440e138
Child 0dbb37e1

Added by Bastian Waidelich about 8 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