diff --git a/phpgwapi/inc/class.nextmatchs.inc.php b/phpgwapi/inc/class.nextmatchs.inc.php index 32f98675d6..3fe0087985 100644 --- a/phpgwapi/inc/class.nextmatchs.inc.php +++ b/phpgwapi/inc/class.nextmatchs.inc.php @@ -203,7 +203,7 @@ class nextmatchs if ($filter_obj == 1) { $user_groups = - $phpgw->accounts->read_group_names($phpgw_info["user"]["userid"]); + $phpgw->accounts->memberships($phpgw_info["user"]["account_id"]); $indexlimit = count($user_groups); $filter_obj = array(array("none",lang("show all")),