fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [8601] property: missing object


From: Sigurd Nes
Subject: [Fmsystem-commits] [8601] property: missing object
Date: Wed, 18 Jan 2012 12:24:33 +0000

Revision: 8601
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8601
Author:   sigurdne
Date:     2012-01-18 12:24:33 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
property: missing object

Modified Paths:
--------------
    trunk/property/inc/cron/default/Import_fra_basware_X205.php

Modified: trunk/property/inc/cron/default/Import_fra_basware_X205.php
===================================================================
--- trunk/property/inc/cron/default/Import_fra_basware_X205.php 2012-01-18 
07:48:44 UTC (rev 8600)
+++ trunk/property/inc/cron/default/Import_fra_basware_X205.php 2012-01-18 
12:24:33 UTC (rev 8601)
@@ -483,12 +483,13 @@
 
                                        if 
(isset($GLOBALS['phpgw_info']['server']['smtp_server']) && 
$GLOBALS['phpgw_info']['server']['smtp_server'])
                                        {
+                                               $send   = 
CreateObject('phpgwapi.send');
                                                $subject = 'Ny faktura venter 
på behandling';
                                                $body = '<a href ="' . 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'property.uiinvoice.index', 'voucher_id' => $bilagsnr, 'query' => $bilagsnr, 
'user_lid' =>'all'),false,true).'">Link til fakturabehandling</a>';
 
                                                try
                                                {
-                                                       $rc = 
$this->send->msg('email', $to, $subject, stripslashes($body), '', $cc, 
$bcc,'','','html');
+                                                       $rc = 
$send->msg('email', $to, $subject, stripslashes($body), '', $cc, 
$bcc,'','','html');
                                                }
                                                catch (phpmailerException $e)
                                                {




reply via email to

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