[Vtigercrm-commits] [vtiger-commits] r7095 - /vtigercrm/trunk/modules/uploads/add2db.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 14 12:49:26 EDT 2006
Author: saraj
Date: Wed Jun 14 10:49:23 2006
New Revision: 7095
Log:
Added the prefix vtiger to tables names - ahmed
Modified:
vtigercrm/trunk/modules/uploads/add2db.php
Modified: vtigercrm/trunk/modules/uploads/add2db.php
==============================================================================
--- vtigercrm/trunk/modules/uploads/add2db.php (original)
+++ vtigercrm/trunk/modules/uploads/add2db.php Wed Jun 14 10:49:23 2006
@@ -58,16 +58,16 @@
$description = addslashes($desc);
$date_var = date('YmdHis');
- $query = "insert into crmentity (crmid,smcreatorid,smownerid,setype,description,createdtime) values('";
+ $query = "insert into vtiger_crmentity (crmid,smcreatorid,smownerid,setype,description,createdtime) values('";
$query .= $current_id."','".$current_user->id."','".$current_user->id."','".$_REQUEST['return_module'].' Attachment'."','".$description."','".$date_var."')";
$result = $adb->query($query);
- $sql = "insert into attachments values(";
+ $sql = "insert into vtiger_attachments values(";
$sql .= $current_id.",'".$filename."','".$description."','".$filetype."','".$upload_filepath."')";
$result = $adb->query($sql);
- $sql1 = "insert into seattachmentsrel values('";
+ $sql1 = "insert into vtiger_seattachmentsrel values('";
$sql1 .= $crmid."','".$current_id."')";
$result = $adb->query($sql1);
More information about the vtigercrm-commits
mailing list