Use isset(), otherwise it tries to create a share

This commit is contained in:
nathangray 2018-06-01 11:54:14 -06:00
parent a1a7570c86
commit e52695c68d

View File

@ -27,7 +27,7 @@ $GLOBALS['egw_info'] = array(
include('./header.inc.php'); include('./header.inc.php');
if (!$GLOBALS['egw']->sharing) if (!isset($GLOBALS['egw']->sharing))
{ {
Sharing::create_session(true); // true = mount into existing session Sharing::create_session(true); // true = mount into existing session
} }