diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 4f6e17b747..3ad55513ea 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -280,8 +280,8 @@ class accounts_sql $this->db->expression(acl::TABLE, array( 'acl_appname' => 'phpgw_group', 'acl_location' => $account_id, - )), __LINE__, __FILE__, false, - 'JOIN '.acl::TABLE.' ON account_id=acl_owner' + )), __LINE__, __FILE__, false, '', false, 0, + 'JOIN '.acl::TABLE.' ON account_id=acl_account' ) as $row) { $members[$row['account_id']] = $row['account_lid'];