for some reason $this->tpl is no instanciated on the home page in 1.8

This commit is contained in:
Ralf Becker 2010-11-18 08:09:16 +00:00
parent 992ebceac4
commit 7f8e677a5a

View File

@ -660,6 +660,7 @@ class idots_framework extends egw_framework
// this closes the application area AND renders the closing body- and html-tag
if (self::$navbar_done)
{
if (!is_a($this->tpl,'Template')) $this->tpl = new Template(EGW_TEMPLATE_DIR);
$this->tpl->set_file(array('footer' => 'footer.tpl'));
$this->tpl->set_var($this->_get_footer());
$content .= $this->tpl->fp('out','footer');