From 4fe75764bc6ea8cfee63edb7fe57c3eee6197cf3 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Wed, 24 Jan 2007 16:38:46 +0000 Subject: [PATCH] make sure that we are really working with a object. That's not always true, when using SyncML for example. --- phpgwapi/inc/class.common.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 45d132408e..7161973d1d 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -1105,7 +1105,9 @@ */ function egw_footer() { - echo $GLOBALS['egw']->framework->footer(); + if(is_object($GLOBALS['egw']->framework)) { + echo $GLOBALS['egw']->framework->footer(); + } } /**