[Vtigercrm-commits] [vtiger-commits] r4593 - /vtigercrm/trunk/modules/Products/updateRelations.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 28 03:27:51 EST 2006
Author: saraj
Date: Tue Mar 28 01:27:47 2006
New Revision: 4593
Log:
junk code has been removed
Modified:
vtigercrm/trunk/modules/Products/updateRelations.php
Modified: vtigercrm/trunk/modules/Products/updateRelations.php
==============================================================================
--- vtigercrm/trunk/modules/Products/updateRelations.php (original)
+++ vtigercrm/trunk/modules/Products/updateRelations.php Tue Mar 28 01:27:47 2006
@@ -12,14 +12,10 @@
require_once('include/database/PearDatabase.php');
global $adb;
-//if($_REQUEST['module']=='Users')
-// $sql = "insert into salesmanactivityrel values (". $_REQUEST["entityid"] .",".$_REQUEST["parid"] .")";
-//else
if($_REQUEST['destination_module']=='Products')
{
if($_REQUEST['smodule']=='VENDOR')
{
- #include('modules/Products/SaveVendor.php');
$sql = "update products set vendor_id=".$_REQUEST['parid']." where productid=".$_REQUEST['entityid'];
$adb->query($sql);
}
@@ -34,8 +30,6 @@
}
- #$sql = "insert into seproductsrel values (". $_REQUEST["parid"] .",".$_REQUEST["entityid"] .")";
-#$adb->query($sql);
header("Location:index.php?action=DetailView&module=Vendors&record=".$_REQUEST["parid"]);
More information about the vtigercrm-commits
mailing list