use negative groupid

This commit is contained in:
Lars Kneschke 2005-12-16 07:10:42 +00:00
parent cbaed98f08
commit 8880080d23

View File

@ -97,7 +97,7 @@
while($GLOBALS['egw_setup']->db->next_record()) while($GLOBALS['egw_setup']->db->next_record())
{ {
$i = $GLOBALS['egw_setup']->db->f('account_id'); $i = $GLOBALS['egw_setup']->db->f('account_id');
$group_info[$i]['account_id'] = $GLOBALS['egw_setup']->db->f('account_id'); $group_info[$i]['account_id'] = -$GLOBALS['egw_setup']->db->f('account_id');
$group_info[$i]['account_lid'] = $GLOBALS['egw_setup']->db->f('account_lid'); $group_info[$i]['account_lid'] = $GLOBALS['egw_setup']->db->f('account_lid');
$group_info[$i]['account_firstname'] = $GLOBALS['egw_setup']->db->f('account_firstname'); $group_info[$i]['account_firstname'] = $GLOBALS['egw_setup']->db->f('account_firstname');
$group_info[$i]['account_lastname'] = $GLOBALS['egw_setup']->db->f('account_lastname'); $group_info[$i]['account_lastname'] = $GLOBALS['egw_setup']->db->f('account_lastname');