setting group-context from (user-)context, if not set

This commit is contained in:
Ralf Becker 2005-12-14 23:31:51 +00:00
parent 9e246a9661
commit 36138f346e

View File

@ -53,7 +53,8 @@
$GLOBALS['egw']->translation =& CreateObject('phpgwapi.translation');
}
$this->user_context = $GLOBALS['egw_info']['server']['ldap_context'];
$this->group_context = $GLOBALS['egw_info']['server']['ldap_group_context'];
$this->group_context = $GLOBALS['egw_info']['server']['ldap_group_context'] ?
$GLOBALS['egw_info']['server']['ldap_group_context'] : $GLOBALS['egw_info']['server']['ldap_context'];
}
function read_repository()