Added the template variable to the new scope logic

This commit is contained in:
Josh Sherman 2013-09-10 19:57:23 -04:00
parent 53236e2c8e
commit 72c9e85f5d

View file

@ -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;
}