phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.botts.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.botts.inc.php
Date: Thu, 23 Mar 2006 09:29:35 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/03/23 09:29:35

Modified files:
        inc            : class.botts.inc.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/class.botts.inc.php.diff?tr1=1.20&tr2=1.21&r1=text&r2=text

Patches:
Index: property/inc/class.botts.inc.php
diff -u property/inc/class.botts.inc.php:1.20 
property/inc/class.botts.inc.php:1.21
--- property/inc/class.botts.inc.php:1.20       Tue Mar  7 13:58:15 2006
+++ property/inc/class.botts.inc.php    Thu Mar 23 09:29:35 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage helpdesk
-       * @version $Id: class.botts.inc.php,v 1.20 2006/03/07 13:58:15 sigurdne 
Exp $
+       * @version $Id: class.botts.inc.php,v 1.21 2006/03/23 09:29:35 sigurdne 
Exp $
        */
 
        /**
@@ -768,19 +768,19 @@
                                $body .= lang('Date Closed').': 
'.$timestampclosed."\n\n";
                        }
 
-                       if ($this->config->config_data['groupnotification'])
+                       if ($this->config->config_data['groupnotification'] && 
$ticket['group_id'])
                        {
                                // select group recipients
                                $members  = 
$this->bocommon->active_group_members($ticket['group_id']);
                        }
 
-                       if ($this->config->config_data['ownernotification'])
+                       if ($this->config->config_data['ownernotification'] && 
$ticket['user_id'])
                        {
                                // add owner to recipients
                                $members[] = array('account_id' => 
$ticket['user_id'], 'account_name' => 
$GLOBALS['phpgw']->accounts->id2name($ticket['user_id']));
                        }
 
-                       if ($this->config->config_data['assignednotification'])
+                       if ($this->config->config_data['assignednotification'] 
&& $ticket['assignedto'])
                        {
                                // add assigned to recipients
                                $members[] = array('account_id' => 
$ticket['assignedto'], 'account_name' => 
$GLOBALS['phpgw']->accounts->id2name($ticket['assignedto']));




reply via email to

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