[Vtigercrm-commits] [vtiger-commits] r7694 - /vtigercrm/trunk/modules/Activities/updateRelations.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 30 03:16:39 EDT 2006
Author: saraj
Date: Fri Jun 30 01:16:35 2006
New Revision: 7694
Log:
query has been modified to maintain contact/activity relation
Modified:
vtigercrm/trunk/modules/Activities/updateRelations.php
Modified: vtigercrm/trunk/modules/Activities/updateRelations.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/updateRelations.php (original)
+++ vtigercrm/trunk/modules/Activities/updateRelations.php Fri Jun 30 01:16:35 2006
@@ -22,7 +22,7 @@
if($id != '')
{
$record = $_REQUEST['parentid'];
- $sql = "insert into vtiger_seactivityrel values (".$id.",".$_REQUEST["parentid"].")";
+ $sql = "insert into vtiger_cntactivityrel values (".$id.",".$_REQUEST["parentid"].")";
$adb->query($sql);
}
}
@@ -32,7 +32,7 @@
elseif(isset($_REQUEST['entityid']) && $_REQUEST['entityid'] != '')
{
$record = $_REQUEST["parid"];
- $sql = "insert into vtiger_seactivityrel values (". $_REQUEST["entityid"] .",".$_REQUEST["parid"] .")";
+ $sql = "insert into vtiger_cntactivityrel values (". $_REQUEST["entityid"] .",".$_REQUEST["parid"] .")";
$adb->query($sql);
header("Location: index.php?action=CallRelatedList&module=Activities&activity_mode=Events&record=".$record);
}
More information about the vtigercrm-commits
mailing list