Fix error extends template call function
This commit is contained in:
Max Kostjukevich 2016-06-08 13:28:02 +03:00
parent 8e57ef2853
commit 180c171b1e
1 changed files with 1 additions and 0 deletions

View File

@ -525,6 +525,7 @@ class Template extends Render
$parent = $this->_fenom->getRawTemplate()->load($tpl, false);
$parent->blocks = & $this->blocks;
$parent->macros = & $this->macros;
$parent->_before = & $this->_before;
$parent->extended = $this->getName();
if (!$this->ext_stack) {
$this->ext_stack[] = $this->getName();