diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 89b1bad0d2..b720a15fa9 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -307,7 +307,8 @@ // add the list group members if($this->data['account_type'] == 'g' && $this->group_context ) { - $members = $this->member($this->account_id); + $members = $this->member($this->account_id) ? $this->member($this->account_id) : NULL; + #_debug_array($members); $newData['memberuid'] = array(); for($i=0;$i