phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] tts/inc/functions.inc.php, 1.37.2.7.2.1.2.1


From: nomail
Subject: [Phpgroupware-cvs] tts/inc/functions.inc.php, 1.37.2.7.2.1.2.1
Date: Thu, 12 Aug 2004 11:04:24 +0200

Update of /tts/inc
Modified Files:
        Branch: Version-0_9_16-branch
          functions.inc.php

date: 2004/08/12 09:04:24;  author: lpiepho;  state: Exp;  lines: +5 -5

Log Message:
bugfix in mailing, updated account-selectbox
=====================================================================
Index: tts/inc/functions.inc.php
diff -u tts/inc/functions.inc.php:1.37.2.7.2.1 
tts/inc/functions.inc.php:1.37.2.7.2.1.2.1
--- tts/inc/functions.inc.php:1.37.2.7.2.1      Wed Mar  5 22:34:55 2003
+++ tts/inc/functions.inc.php   Thu Aug 12 09:04:24 2004
@@ -92,9 +92,9 @@
                        $body .= 
stripslashes(strip_tags($GLOBALS['phpgw']->db->f('ticket_detail')))."\n\n.";
                        
                        
-                       
$GLOBALS['phpgw']->config->config_data['groupnotification']=True;
+                       
//$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']) 
+                       if 
($GLOBALS['phpgw']->config->config_data['groupnotification'] > 0) 
                        {
                                // select group recipients
                                $members  = 
$GLOBALS['phpgw']->accounts->member($group_id);
@@ -102,14 +102,14 @@
 
 
                        // do we need to email the owner of this ticket?
-                       if 
($GLOBALS['phpgw']->config->config_data['ownernotification'])
+                       if 
($GLOBALS['phpgw']->config->config_data['ownernotification'] > 0)
                        {
                                // 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'));
                        }
 
                        // do we need to email the user who is assigned to this 
ticket?
-                       if 
($GLOBALS['phpgw']->config->config_data['assignednotification'])
+                       if 
($GLOBALS['phpgw']->config->config_data['assignednotification'] > 0)
                        {
                                // add assigned to recipients
                                $members[] = array('account_id' => $t_assigned, 
'account_name' => $t_assigned_name);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]