[Vtigercrm-commits] [vtiger-commits] r9356 - /vtigercrm/trunk/include/utils/CommonUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Sep 8 22:09:02 EDT 2006
Author: mmbrich
Date: Fri Sep 8 20:08:57 2006
New Revision: 9356
Log:
fix for table prefix, this should get email personalization working again
Modified:
vtigercrm/trunk/include/utils/CommonUtils.php
Modified: vtigercrm/trunk/include/utils/CommonUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/CommonUtils.php (original)
+++ vtigercrm/trunk/include/utils/CommonUtils.php Fri Sep 8 20:08:57 2006
@@ -2431,7 +2431,7 @@
if(is_array($fields["contacts"]))
{
$columnfields = implode(',',$fields["contacts"]);
- $query = 'select '.$columnfields.' from contactdetails where contactid='.$id;
+ $query = 'select '.$columnfields.' from vtiger_contactdetails where contactid='.$id;
$result = $adb->query($query);
foreach($fields["contacts"] as $columnname)
{
@@ -2444,7 +2444,7 @@
if(is_array($fields["leads"]))
{
$columnfields = implode(',',$fields["leads"]);
- $query = 'select '.$columnfields.' from leaddetails where leadid='.$id;
+ $query = 'select '.$columnfields.' from vtiger_leaddetails where leadid='.$id;
$result = $adb->query($query);
foreach($fields["leads"] as $columnname)
{
More information about the vtigercrm-commits
mailing list