[Vtigercrm-commits] [vtiger-commits] r9045 - /vtigercrm/trunk/soap/vtigerolservice.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Aug 21 05:29:33 EDT 2006
Author: richie
Date: Mon Aug 21 03:29:08 2006
New Revision: 9045
Log:
plugin_save variable has been set to true when save from outlook --Jeri
Modified:
vtigercrm/trunk/soap/vtigerolservice.php
Modified: vtigercrm/trunk/soap/vtigerolservice.php
==============================================================================
--- vtigercrm/trunk/soap/vtigerolservice.php (original)
+++ vtigercrm/trunk/soap/vtigerolservice.php Mon Aug 21 03:29:08 2006
@@ -309,6 +309,7 @@
$email->column_fields[date_start] = $date_sent;
$email->column_fields[description] = htmlentities($email_body);
$email->column_fields[activitytype] = 'Emails';
+ $email->plugin_save = true;
$email->save("Emails");
$email->set_emails_contact_invitee_relationship($email->id,$contactid);
@@ -320,7 +321,7 @@
if(isset($camodulerow))
{
$emailid = $camodulerow["email"];
- $query = 'insert into vtiger_emaildetails values ('.$email->id.',"","'.$emailid.'","","","","'.$cotactid."@77|".'","OUTLOOK")';
+ $query = 'insert into vtiger_emaildetails values ('.$email->id.',"","'.$emailid.'","","","","'.$contactid."@77|".'","OUTLOOK")';
$adb->query($query);
}
return $email->id;
More information about the vtigercrm-commits
mailing list