Index: inc/functions.inc.php =================================================================== RCS file: /cvsroot/phpgroupware/tts/inc/functions.inc.php,v retrieving revision 1.37.2.1 diff -u -r1.37.2.1 functions.inc.php --- inc/functions.inc.php 25 Jan 2002 22:00:52 -0000 1.37.2.1 +++ inc/functions.inc.php 19 Feb 2002 21:30:39 -0000 @@ -88,7 +88,6 @@ $body .= stripslashes(strip_tags($GLOBALS['phpgw']->db->f('ticket_detail')))."\n\n."; -$GLOBALS['phpgw']->config->config_data['groupnotification']=True; // do we need to email all the users in the group assigned to this ticket? if ($GLOBALS['phpgw']->config->config_data['groupnotification']) { @@ -101,14 +100,14 @@ if ($GLOBALS['phpgw']->config->config_data['ownernotification']) { // add owner to recipients -//AW -temporary $members[] = array('account_id' => $GLOBALS['phpgw']->accounts->name2id($GLOBALS['phpgw']->db->f('ticket_owner')), 'account_name' => $GLOBALS['phpgw']->db->f('ticket_owner')); + $members[] = array('account_id' => $GLOBALS['phpgw']->db->f('ticket_owner'), 'account_name' => $GLOBALS['phpgw']->accounts->id2name($GLOBALS['phpgw']->db->f('ticket_owner'))); } // do we need to email the user who is assigned to this ticket? if ($GLOBALS['phpgw']->config->config_data['assignednotification']) { // add assigned to recipients - $members[] = array('account_id' => $GLOBALS['phpgw']->accounts->name2id($GLOBALS['phpgw']->db->f('t_assignedto')), 'account_name' => $GLOBALS['phpgw']->db->f('t_assignedto')); + $members[] = array('account_id' => $GLOBALS['phpgw']->db->f('ticket_assignedto'), 'account_name' => $GLOBALS['phpgw']->accounts->id2name($GLOBALS['phpgw']->db->f('ticket_assignedto'))); }