diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index b6cca84ac8..df1552bd76 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -58,7 +58,7 @@ } /* Make sure the header.inc.php is current. */ - if ($GLOBALS['egw_info']['server']['versions']['header'] < $GLOBALS['egw_info']['server']['versions']['current_header']) + if (!isset($GLOBALS['egw_info']) || $GLOBALS['egw_info']['server']['versions']['header'] < $GLOBALS['egw_info']['server']['versions']['current_header']) { echo '
You need to port your settings to the new header.inc.php version by running setup/headeradmin.
'; exit;