diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 17ec31f443..8c9128cc0b 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -179,8 +179,8 @@ $db->query("select group_name from groups where group_id=".$group[0],__LINE__,__FILE__); $db->next_record(); $group_names[$i][0] = $group[0]; - $group_names[$i][1] = $db->f("group_name"); - $group_names[$i++][2] = $group[1]; + $group_names[$i][1] = $db->f("group_name"); + $group_names[$i++][2] = $group[1]; } if (! $lid) $this->group_names = $group_names;