Added the template variable to the new scope logic
This commit is contained in:
parent
53236e2c8e
commit
72c9e85f5d
1 changed files with 4 additions and 0 deletions
|
@ -104,12 +104,16 @@ class Display_PHP extends Display_Common
|
|||
$__template = $this->child_template;
|
||||
}
|
||||
|
||||
$this->template = $__template;
|
||||
|
||||
require_once $this->parent_template;
|
||||
}
|
||||
elseif ($this->child_template != null)
|
||||
{
|
||||
$__template = $this->child_template;
|
||||
|
||||
$this->template = $__template;
|
||||
|
||||
require_once $__template;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue