fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9003] property: email


From: Sigurd Nes
Subject: [Fmsystem-commits] [9003] property: email
Date: Wed, 21 Mar 2012 09:37:44 +0000

Revision: 9003
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9003
Author:   sigurdne
Date:     2012-03-21 09:37:43 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
property: email

Modified Paths:
--------------
    trunk/property/inc/class.uiwo_hour.inc.php

Modified: trunk/property/inc/class.uiwo_hour.inc.php
===================================================================
--- trunk/property/inc/class.uiwo_hour.inc.php  2012-03-21 08:02:08 UTC (rev 
9002)
+++ trunk/property/inc/class.uiwo_hour.inc.php  2012-03-21 09:37:43 UTC (rev 
9003)
@@ -1440,10 +1440,9 @@
                                $receipt['error'][]=array('msg'=>lang('No 
mailaddress is selected'));
                        }
 
-                       if($to_email || $print || 
($workorder['mail_recipients'] && $_POST['send_order']))
+                       if($to_email || $print || 
($workorder['mail_recipients'][0] && $_POST['send_order']))
                        {
-                               $_to = $workorder['mail_recipients'] ? 
implode(';', $workorder['mail_recipients']) : $to_email;
-                               
+                               $_to = isset($workorder['mail_recipients'][0]) 
&& $workorder['mail_recipients'][0] ? implode(';', 
$workorder['mail_recipients']) : $to_email;
                                $email_data['use_yui_table'] = false;
 
                                
$this->create_html->add_file(array(PHPGW_SERVER_ROOT . 
'/property/templates/base/wo_hour'));




reply via email to

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