diff --git a/phpgwapi/inc/footer.inc.php b/phpgwapi/inc/footer.inc.php index 973ef649bf..6798fa7a71 100644 --- a/phpgwapi/inc/footer.inc.php +++ b/phpgwapi/inc/footer.inc.php @@ -34,7 +34,10 @@ /**************************************************************************\ * Include the apps footer files if it exists * \**************************************************************************/ - $GLOBALS['phpgw']->common->phpgw_footer(); + if (is_object($GLOBALS['phpgw']->common)) + { + $GLOBALS['phpgw']->common->phpgw_footer(); + } ?>