[Vtigercrm-commits] [vtiger-commits] r10283 - /vtigercrm/branches/5.0.3/modules/Notes/Save.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 1 07:18:04 EST 2007
Author: saraj
Date: Thu Mar 1 05:17:59 2007
New Revision: 10283
Log:
problem in duplicating notes - fixed. Fixes #3117
Modified:
vtigercrm/branches/5.0.3/modules/Notes/Save.php
Modified: vtigercrm/branches/5.0.3/modules/Notes/Save.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Notes/Save.php (original)
+++ vtigercrm/branches/5.0.3/modules/Notes/Save.php Thu Mar 1 05:17:59 2007
@@ -66,7 +66,7 @@
fclose($handle);
$adb->query("update vtiger_notes set filename=\"$filename\" where notesid=$focus->id");
- $adb->query("insert into vtiger_crmentity (crmid,setype,createdtime) values('".$new_attachmentid."','Notes Attachment','".$date_var."')");
+ $adb->query("insert into vtiger_crmentity (crmid,setype,createdtime) values('".$new_attachmentid."','Notes Attachment',".$date_var.")");
$adb->query("insert into vtiger_attachments values(".$new_attachmentid.",'".$filename."','','".$filetype."','".$upload_filepath."')");
More information about the vtigercrm-commits
mailing list