From c3bdb4c416e74484887b7b38544e787784bea985 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 18 Nov 2010 08:08:58 +0000 Subject: [PATCH] for some reason $this->tpl is no instanciated on the home page in 1.8 --- phpgwapi/templates/idots/class.idots_framework.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpgwapi/templates/idots/class.idots_framework.inc.php b/phpgwapi/templates/idots/class.idots_framework.inc.php index 66736d5873..22c3851a30 100644 --- a/phpgwapi/templates/idots/class.idots_framework.inc.php +++ b/phpgwapi/templates/idots/class.idots_framework.inc.php @@ -664,6 +664,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');